Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-19-2005, 09:33 AM   #1
LQ Newbie
Registered: Jan 2003
Location: Lublin
Posts: 15

Rep: Reputation: 0
sshd won't start anymore - hostname?


Could somebody point me in the right direction regarding this:

I've been running a small Slack 9 file server for some time. I had SSH up and running on it OK.

Then while logged remotely from a windoze machine using Putty I su-ed and issued 'reboot'.

Then I tried to log on again from Win/Putty without luck but that had happened before (I think) so I connected the monitor to the server box, logged in locally and checked if sshd was running. It was not.

If I issue: /etc/rc.d/rc.sshd start - nothing happens. The daemon doesn't start.

One thing I did which I think could affect the sshd was changing HOSTNAME.


ssh localhost - does nothing

/etc/rc.d/rc.sshd start - does nothing

ps aux - doesn't list /usr/sbin/sshd

What next, please?
Old 04-19-2005, 10:05 AM   #2
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
The log files are your friends. Start a virtual terminal (Ctrl-Alt-[F2-F4]) and do a "tail -f /var/log/messages." Then go back to your first terminal (Ctrl-Alt-F1) and try to start sshd again, flip back to the previous terminal and the log files will probably tell you what is going on.
Old 04-20-2005, 02:10 AM   #3
LQ Newbie
Registered: Jan 2003
Location: Lublin
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks Mike,

The tail of the 'messages' shows in the bottom line after reboot:
(...) kernel: tg3 eth0: Flow control is on for TX and on for RX

Neither /etc/rc.d/rc.sshd start | stop
nor /usr/sbin/sshd changes it.


Last edited by AndK; 04-20-2005 at 03:00 AM.


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
Make sshd answer only on a certain hostname ? michaelsanford Linux - Security 3 07-18-2005 03:19 PM
sshd start on boot mblanco2000 Linux - Security 5 05-18-2004 04:13 PM
getting sshd to start at boot eros Linux - Software 8 12-31-2003 01:06 PM
Changed my hostname and broke sshd Itzac Linux - Networking 7 03-23-2003 06:54 PM
couldn't start SSHD jonnyb Linux - Networking 14 02-16-2003 03:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:02 PM.

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