If the server needs to be started, stopped, or restarted manually, the
ssh-server-g3 script can be used.
The command has the following syntax:
command can be either
Start the server.
Stop the server. Existing connections stay open until closed from the client side.
Start a new server process. Existing connections stay open using the old server process. The old process is closed after the last old connection is closed from the client side.
Reload the configuration file. Existing connections stay open.
The path to the
ssh-server-g3 script varies between operating systems:
On Linux and Solaris:
# /etc/init.d/ssh-server-g3 [command]
# /sbin/init.d/ssh-server-g3 [command]