SFTP error “Received message too long”

前端 未结 2 1891
一向
一向 2020-12-16 20:30

I recently tried to using sftp to access my linux box where I implement a simple shell of my own. And I set the users except root to use mine shell in default(by editing /et

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 21:12

    Configure your server to use the internal sftp server adding the following directive to /etc/ssh/sshd_config:

    Subsystem sftp internal-sftp
    

    That way, it will not use the user shell to launch the sftp server program.

提交回复
热议问题