Discussion Locked

restart ssh in linux

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
hi, can someone please tell me how to start ssh in linux. What command to use to see all the running process. Thanks.

7 replies

by rouse

If you're trying to start the server daemon, then try:
/etc/rc.d/init.d/sshd restart

If you're trying to run the ssh client from your linux box, then just ssh xxx.xxx.xxx.xxx

by uffe.sommerlund

all running processes
ps -ef
ps -ef | grep konqueror (ssh or something else)
ps -ef | grep user 'name'

like the guy said

just type ssh

by gbjoe

To see all running processes I usually type:
ps -aux
This shows everything as well as %mem and %cpu.

As for ssh service:
To restart the daemon (works even if you're connected remotely): /etc/init.d/sshd restart

For connecting:
ssh @

Hope this helps.
Guy

This discussion is closed to new replies.