2018年6月21日 星期四

遇到密碼對 可是登不進ssh

Check the log in /var/log/auth.log
$ grep sshd /var/log/auth.log | less
看到
sshd[2110]: User jack not allowed because shell /usr/bin/zsh does not exist

可能是之前有安裝過zsh但是沒有移乾淨
下env | grep SHELL看到的確是/usr/bin/zsh

用chsh指令改
$ sudo chsh -s /bin/bash jack
解決不能登入ssh問題

1 則留言:

  1. This firm meets the best verified requirements of social and environmental efficiency, transparency, and accountability. In that second, I realized that after I knew, I really knew. Meetings are on the heart 우리카지노 of The Venetian Resort, and we're dedicated to doing every thing ready to} to keep your events protected. The middle of a modern renaissance, each expertise invites you to open your mind to what luxury can imply.

    回覆刪除