我以前可以正常工作的 ssh 登录现在在连接接受后导致“不允许操作”错误。除了重新启动服务器之外,我想不出任何更改,那么可能出了什么问题?
这是相关的日志:
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 0
Operation not permitted
debug1: channel 0: free: client-session, nchannels 1
Connection to horst closed.
Run Code Online (Sandbox Code Playgroud)
Jari Laamanen 暗示,解决方案在于buffalo.nas-central.org 线程中:
我已添加root到一个新组,该组恰好被文件中的 ssh 访问阻止/etc/sftponly。nas_configgen -c sftp正如该线程中所指出的,只有在 中注释掉该行时,更改此文件才是永久性的/etc/init.d/sshd.sh。
| 归档时间: |
|
| 查看次数: |
38308 次 |
| 最近记录: |