linux:open_ssh:trouble-shooting

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
linux:open_ssh:trouble-shooting [2013/10/16 19:45] – 作成 ともやんlinux:open_ssh:trouble-shooting [2019/02/16 21:38] (現在) – 削除 ともやん
行 1: 行 1:
-====== トラブルシューティング ====== 
  
-===== Fedora起動後にsshdを再起動しないと接続できない ===== 
-OS起動直後にssh接続すると以下のエラーが発生する場合 
-<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> 
- 
-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/open_ssh/trouble-shooting.1381920339.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)