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?
|
I think the following command should work.
Code:
/etc/init.d/ssh start |
/etc/init.d/sshd start not ssh, (small typo).
|
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 |
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.
|
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. |