I am trying to remotely edit sshd_config file using WinSCP and putty. Unfortunately, I keep getting the following error-
“Cannot overwrite remote file Press delete to delete the file and create a new one”.
I tried deleting, but I got a similar error. I also tried changing the permissions on the file, but I got the error -
cannot change properties of file sshd_config.
I suspect I don't have the correct permissions, but I'm not sure what to do. I've attached a pic of my permissions below.
What do I need to do to be able to overwrite sshd_config ? Is it to do with my current permissions?