General discussion

Locked

restart ssh in linux

By alex_phan ·
hi, can someone please tell me how to start ssh in linux. What command to use to see all the running process. Thanks.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by rouse In reply to restart ssh in linux

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

Collapse -

by alex_phan In reply to

Poster rated this answer.

Collapse -

by uffe.sommerlund In reply to restart ssh in linux

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

Collapse -

by alex_phan In reply to

Poster rated this answer.

Collapse -

by gbjoe In reply to restart ssh in linux

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 <username>@<servername or IP>

Hope this helps.
Guy

Collapse -

by alex_phan In reply to

Poster rated this answer.

Collapse -

by alex_phan In reply to restart ssh in linux

This question was closed by the author

Back to Linux Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums