Ubuntu Forums Archive Viewer

how do i restart ssh

Archived thread 1000574 from New to Ubuntu. Markdown source: New_to_Ubuntu/thread_1000574_how_do_i_restart_ssh.md

Original URL About this archive
#1

ive made some changed to ssh_config file, and i need to restart ssh...? is there a way of doing this without restarting the whole computer?

#2

Every service can be restarted with out rebooting. To restart ssh, in a terminal type;

sudo /etc/init.d/ssh restart

Most of the startup scripts are located in /etc/init.d

Jim

#3
sudo /etc/init.d/ssh reload