My previously fine working ssh login now results in a Operation not permitted error after getting a connection accepted. I can't think of anything I changed except for restarting the server, so what could have gone wrong?Here's the relevant log:debug1: Authentication succeeded (publickey).debug1: channel 0: new [client-session]debug1: Entering interactive session.debug1: client_input_channel_req: channel 0 rtype exit-status reply 0Operation not permitteddebug1: channel 0: free: client-session, nchannels 1Connection to horst closed.
How to fix operation not permitted on ssh login?
ssh
Has hinted at by Jari Laamanen, the solution lies in this buffalo.nas-central.org thread:I have added root to a new group, which happend to be blocked from ssh access in the file /etc/sftponly. As pointed out in that thread, changing this file is only permanent if the line nas_configgen -c sftp is commented out in /etc/init.d/sshd.sh.