failed to connect to my linux with ssh
hi,
i use putty to connect my linux thro' ssh. i sure my sshd daemon is running and i can get follow event log in putty. 2004-10-20 11:22:05 Looking up host "192.168.1.130" 2004-10-20 11:22:05 Connecting to 192.168.1.130 port 22 2004-10-20 11:22:05 Server version: SSH-1.99-OpenSSH_3.5p1 2004-10-20 11:22:05 We claim version: SSH-2.0-PuTTY-Release-0.55 2004-10-20 11:22:05 Using SSH protocol version 2 2004-10-20 11:22:05 Doing Diffie-Hellman group exchange my putty just have no response then... what i can do? also, where can i get the sshd's log?(i cant see anything related in /var/log/) the interesting thing is that work b4 and failed after i did sth on the config. file. but, these things should not related. so, any help? thanks, jim |
At least on my system, sshd logs to /var/log/messages. You also might try looking at the syslog.
Quote:
|
i found below message when client connect to server in /var/log/secure.
so, any hints to the problem? ======================== Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 156 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 157 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 158 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 159 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 160 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 161 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 162 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 163 Oct 21 11:55:35 vps-linux sshd[3531]: error: Bad prime description in line 164 Oct 21 11:55:35 vps-linux sshd[3531]: WARNING: no suitable primes in /etc/ssh/primes |
Well, you obviously have a bad primes file. I guess I'd be tempted to re-install ssh as I have no idea how to fix this file.
|
All times are GMT -5. The time now is 03:55 PM. |