文書の表示以前のリビジョンバックリンク文書の先頭へ この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。 ====== トラブルシューティング ====== ===== Fedora起動後にsshdを再起動しないと接続できない ===== OS起動直後にssh接続すると以下のエラーが発生する場合 <WRAP prewrap 100%> <code> $ sudo journalctl /usr/sbin/sshd 10月 10 18:14:02 green-sv.monsters-g.local sshd[8009]: pam_unix(sshd:session): session opened for user tomoyan by (uid=0) 10月 10 18:14:22 green-sv.monsters-g.local sshd[8009]: pam_systemd(sshd:session): Failed to connect to system bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 10月 10 18:14:22 green-sv.monsters-g.local sshd[8009]: pam_unix(sshd:session): session closed for user tomoyan </code> </WRAP> sshdを再起動すると発生しなくなるが、OS起動後に毎回再起動するのは不便。 <code> $ sudo systemctl restart sshd.service </code> opensshを再インストール&再設定したら治った。 <code> $ sudo yum remove openssh </code> 依存関係により削除されたパッケージも再インストールする。 <code> $ sudo yum install virt-viewer anaconda openssh-server </code> sshdの再設定。 <code> $ sudo vi /etc/ssh/sshd_config </code> sshdの開始。 <code> sudo systemctl start sshd.service </code> linux/openssh/trouble_shooting.txt 最終更新: 2020/05/10 03:02by ともやん