LoginSignup
1
1

More than 5 years have passed since last update.

ssh接続でToo many authentication failures

Last updated at Posted at 2016-10-27

ssh接続で以下のようなエラーが発生

$ ssh 10.123.123.123
Received disconnect from 10.123.123.123: 2: Too many authentication failures for user1

接続数の上限に引っかかってしまっているよう。

$  grep MaxAuthTries /etc/ssh/sshd_config
MaxAuthTries 4

上記の項目。

とりあえず接続したいので、

$  grep MaxAuthTries /etc/ssh/sshd_config
#MaxAuthTries 4
$ sudo /etc/init.d/sshd restart

とコメントアウトして(もしくは数値を増やして)再起動すれば接続できる。

参考
http://tkuchiki.hatenablog.com/entry/2013/02/20/104609

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1