0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ssh receive packet: type 51というerrorが出たとき

Last updated at Posted at 2022-04-19

ssh hostname -vvvssh receive packet: type 51というエラーが出たとき、サーバーの認証が失敗している。ログを詳しく見るため設定変更する。

1. LogLevelをINFOからDEBUGに変更

sudo vi /etc/ssh/sshd_config
/etc/ssh/sshd_config
LogLevel DEBUG

2. SSHデーモンを再起動

sudo systemctl restart sshd

3. エラーメッセージを確認

tail -l /var/log/auth.log
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?