SSH失败,/ bin / bash:没有这样的文件或目录
我有一个被监禁的用户。 sshd_config中: Subsystem sftp internal-sftp Match user matt ChrootDirectory %h X11Forwarding no AllowTcpForwarding no passwd文件: matt:x:1001:5006:Matt Ryan,,,:/home/matt:/home/matt/bin/bash 这对于sftp是完美的。 用户被限制在他的主文件夹,无论有什么安装。 但是,我想也给这个使用shell访问。 这是他们尝试login时发生的情况: $ ssh [email protected] Linux devnode 2.6.38-linode31 #1 SMP Mon Mar 21 21:22:33 UTC 2011 i686 GNU/Linux Ubuntu 10.04.2 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ Last login: Thu Mar 31 13:04:29 2011 from abc.nyc.res.rr.com […]