Newbie Spellweaver
- Joined
- Dec 16, 2022
- Messages
- 15
- Reaction score
- 0
I'm sorry, I should have thought of privilege elevation. If you're logged in as genshin, you can use the command sudo vi /etc/ssh/sshd_config or sudo nano /etc/ssh/sshd_config
You'll be asked to put in your password, then you'll be able to edit and save the file.
Alternately, you can use the command sudo -i to elevate to the root user and you'll be able to edit it
Thank you, this seems to have allowed me to edit the file! Though now I'm struggling with command line editing in Ubunto, but that's a whole nother thing you all don't need to worry about. I grew up with Windows so this is very unintuitive for me. Thank you again! I'll fiddle around with this until I nail it and will give an update then!
edit: Ha, vim command cheat sheet found!
editedit: Yep, okay, I feel stupid. I was in the root directory and couldn't find the G'nshin folder (thinking it hidden due to permissions). Turns out there is a folder also called root inside the root directory that contained it.
Last edited: