Following Linode Securing Your Server setup instructions
sudo service ssh restart
ssh stop/waiting ssh start/running, process 4070
Why is this and how can I make it restart?
4070 is the new PID, can check it with ps auxf
If you scroll down a bit you'll see "Disabling SSH Password Authentication and Root Login". This makes it so I have to run sudo. Currently I can log on with a ftp client but I can't upload/overwrite anything. Now I can only log on using SSH Key pair authentication which makes it a lot more secure but I can't update the files easily. I currently have to change folder ownership then upload files and then revert the ownership back. I was wondering how people get around this?
I've already tried uploading files via sftp or scp and it didn't work but I'm open to suggestions on how others have done it (without constantly having to change ownership of folders and what not).