->^_^<- 2015. 3. 23. 21:29
반응형

CentOS / RHEL / Fedora / Redhat Linux Restart SSH

# /etc/init.d/sshd restart

OR

# service sshd restart

Debian / Ubuntu Linux Restart SSH

# /etc/init.d/ssh restart

OR

# service ssh restart

FreeBSD Restart SSH

# /etc/rc.d/sshd restart

UNIX Restart SSH

# kill -HUP `cat /var/run/sshd.pid`

   

출처 : http://www.cyberciti.biz/faq/howto-restart-ssh/

반응형