プロが教える店舗&オフィスのセキュリティ対策術

間欠で、いつ固まるか特定できないのですが、クライアントからsshでサーバーに接続し、端末で操作しているときに固まる場合があります。
固まったときに新たにsshにて接続してtopなどでプロセス状況をみても、sshdが上位に来ていません。
なにか原因が特定できるような方法がありましたら教えてください。

環境:
[クライアント側]
os:
Linux clienthost 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux

shell:
tcsh 6.14.00 (Astron) 2005-03-25 (i486-intel-linux) options wide,nls,dl,al,kan,rh,nd,color,filec

terminal:
GNOME 端末 2.28.1

ssh:
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007

[サーバ側]
os:
Linux remotehost 2.6.31-15-server #50-Ubuntu SMP Tue Nov 10 15:50:36  UTC 2009 x86_64 GNU/Linux

shell:
tcsh 6.14.00 (Astron) 2005-03-25 (x86_64-unknown-linux) options wide,nls,dl,al,kan,rh,nd,color,filec

ssh:
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007

/etc/ssh/sshd_configの設定:
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
RhostsRSAAuthentication
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding no
#X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes

A 回答 (1件)

クライアント側が固まったときにそのまま閉じず


新しいターミナルを開いてsshでログインをし
psコマンドで固まっているssh接続の情報を確認
それを元に調査を行うしか無いかと思います。

/etc/ssh/sshd_configでログレベルの設定が出来るので
こちらをDEBUG2に変更し、確認してみてください。
    • good
    • 0
この回答へのお礼

有難うございました

お礼日時:2010/05/12 15:38

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!