more on non-working ssh
Mike Parson
yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 30 11:55:02 2004
On Tue, Mar 30, 2004 at 12:40:19PM -0600, Dan wrote:
> On Mar 29, 2004, at 12:08 PM, Longman, Bill wrote:
>>
>> One's a service running on the machine, the other is a client used to
>> connect to other machines. They're very different with very different
>> ramifications.
>>
>> You'll need openssl installed for the key generation if you're going to
>> install the server.
>>
>> What does your log file say? Look in /var/log/boot.log or
>> /var/log/messages
>> for some clues.
>
> I'm having the same problem as Nathan. I made sure sshd-server is
> installed and sshd is running. One thing I noticed in /var/log/messages
> after restarting sshd is this:
>
> Mar 30 11:38:40 Loki sshd: sshd -TERM succeeded
> Mar 30 11:38:40 Loki sshd: succeeded
> Mar 30 11:38:40 Loki sshd[1227]: Server listening on 0.0.0.0 port 22.
>
> Should it be listening on something other than 0.0.0.0? Where is this
> set?
0.0.0.0 is binding to all available IPs on the box.
If you have a box with multiple interfaces and only want sshd listening
on one of them, edit /etc/ssh/sshd_config and set the ListenAddress to
the IP of the appropriate interface.
What error are you getting when you try and ssh into this box?
Connection-refused?
long timeout?
permission denied?
--
Michael Parson
mparson@bl.org