LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2004, 11:24 PM   #1
zecodela
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Rep: Reputation: 0
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
 
Old 10-20-2004, 08:32 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
At least on my system, sshd logs to /var/log/messages. You also might try looking at the syslog.

Quote:
the interesting thing is that work b4 and failed after i did sth on the config. file.
Could you explain what you did in a bit more detail?
 
Old 10-20-2004, 11:58 PM   #3
zecodela
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 10-21-2004, 01:52 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 08:19 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 08:57 AM
failed ssh bones996 Linux - Networking 6 10-30-2004 09:46 PM
App to connect from windows to Linux? (using ssh?) Erik Plaggenmar Linux - Software 3 06-02-2004 09:32 PM
unable to connect to my linux router from internet using ssh shkkhanhyd Linux - Security 3 03-31-2004 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration