日々精進

新しく学んだことを書き留めていきます

2017-01-24から1日間の記事一覧

sshでログインしようとすると「Connection to xxx closed.」「Exit status 254」エラー

IT

CentOSの場合は以下の手順で直る。 /etc/ssh/sshd_config の UsePAM yes を UsePAM no に変更する これでなぜ直るのかは不明。。 UsePAMはPluggable Authentication Moduleを使えるようにするかの設定で、 Pluggable Authentication Moduleは元々何も設定し…