March 22, 2011, 10:11 a.m.
posted by whitehat
OpenSSH is installed by default during Linux installations. Because SSH and SCP are part of the same application, they share the same configuration file and are governed by the same /etc/init.d/sshd startup script.
[[email protected] tmp]# chkconfig sshd on
You can also start, stop, and restart SSH after booting by running the sshd initialization script.
[[email protected] tmp]# service sshd start [[email protected] tmp]# service sshd stop [[email protected] tmp]# service sshd restart
Remember to restart the SSH process every time you make a change to the configuration files for the changes to take effect on the running process.