LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to start SSH server from cmd line? (https://www.linuxquestions.org/questions/ubuntu-63/how-to-start-ssh-server-from-cmd-line-545253/)

kc5hwb 04-11-2007 04:59 PM

How to start SSH server from cmd line?
 
I need to grab some log files because I am having problems with X starting. How do I start the SSH server from cmd line?

cgjones 04-11-2007 05:04 PM

I think the following command should work.
Code:

/etc/init.d/ssh start

kcorupe 04-11-2007 06:09 PM

/etc/init.d/sshd start not ssh, (small typo).

nx5000 04-11-2007 06:13 PM

Under debian it is
/etc/init.d/ssh
not
sshd

Which seems logical to me as you woudnt start ssh client from /etc/init.d

cgjones 04-11-2007 06:14 PM

If I'm wrong, then so is the Ubuntu documentation. I based my idea on my system, which is running Debian, but I double checked it against the Ubuntu docs and we both agree.

kcorupe 04-11-2007 06:27 PM

I'm pretty sure I read he was starting the daemon. but if its ssh on Ubuntu then thats new to me. Every distro to its own. mines in /etc/rc.d/sshd.


All times are GMT -5. The time now is 06:13 PM.