Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When upgrading my system crashed, and now I can not start the service ssh

root@elizium:/# stop ssh
stop: Unknown job: ssh
root@elizium:/# uname -a
Linux elizium 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 GNU/Linux
share|improve this question
1  
You are running stop, don't you mean start? Not sure about Ubuntu syntax but is it service start ssh? cyberciti.biz/faq/howto-start-stop-ssh-server –  user60129 Nov 23 '11 at 4:26

1 Answer 1

run

service ssh start

or

/etc/init.d/sshd restart

Then verify if ssh runs or not by issuing command:

netstat -ntlp (which will show you sshd listening on port 22)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.