小编Sas*_*cha的帖子

如何使用非默认登录 shell 进行 ssh 登录

我目前在使用 LDAP 进行身份验证的网络中工作。设置zsh为我的登录 shell 后,我遇到了通过远程访问ssh网络上一台显然没有zsh安装的机器的问题。登录失败

Dec 8 19:16:11 abert sshd[20649]: User sorokine not allowed because shell /bin/zsh does not exist

所以问题基本上是:如何告诉远程机器使用与 LDAP 中配置的不同的登录 shell?

OpenSSH_6.0p1 Debian-4+deb7u2,OpenSSL 1.0.1e

shell login ssh

10
推荐指数
1
解决办法
2万
查看次数

标签 统计

login ×1

shell ×1

ssh ×1