I tried to use SFTP using sudo to make changes in a file, following instruction:
Adding this line was a fix for me and comment the existing
subsystemline:
/etc/ssh/sshd_config:Subsystem sftp sudo -n true && sudo -n /usr/lib/openssh/sftp-server || /usr/lib/openssh/sftp-serversudo systemctl restart sshd
Now, I can't connect to the server at all, not via SFTP or SSH, and want to revert the change to be able to connect via SSH; how can I do this?