packet_write_wait: Connection to xxx.xxx.xxx.xxx port 22: Broken pipe が表示されてログインできない時の対策

packet_write_wait: Connection to xxx.xxx.xxx.xxx port 22: Broken pipe が表示されて勝手にログアウトというのはよく聞きますが、今回の場合
新規ユーザーを作って上記エラーが出てログインできないという現象。

sshd_configに下記のようなwheelユーザーの設定をしている場合

Match Group *,!wheel
        ChrootDirectory /home/%u/./

ユーザーをwheelユーザーに追加する。今回この部分をしていなかったために現れた現象

usermod -G wheel new_user_name

シェアする

  • このエントリーをはてなブックマークに追加

フォローする