Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssh questions

Status
Not open for further replies.

peterv6

Programmer
Sep 10, 2005
70
US
A few weeks ago, I set up an ssh server on my Ubuntu machine. It worked perfectly. Unfortunately, I'm not an expert at this stuff, and I forgot how to start, stop, restart & check the status of the server from the command line. Can anyone help me out with the commands?
Thanks....


PETERV
Syracuse, NY &
Boston, MA
 
To see if it's running...
ps -eaf |grep sshd
Will output...
root 5484 1 0 Sep29 ? 00:00:00 /usr/sbin/sshd

To stop/start. As root...
/etc/init.d/ssh stop
/etc/init.d/ssh start

You could also use restart in place of start/stop.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top