Restart SSH Service
Solution
CentOS / RHEL / Fedora / Redhat Linux
/etc/init.d/sshd restart
… or ..
service sshd restart
Debian / Ubuntu Linux
/etc/init.d/ssh restart
… or …
service ssh restart
FreeBSD
/etc/rc.d/sshd restart
UNIX
kill -HUP `cat /var/run/sshd.pid`
Please note that the location of /var/run/sshd.pid may change. So just search a bit through /var/run/ directory.
Source
http://www.cyberciti.biz/faq/howto-restart-ssh/
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.