![]() ![]() |
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:
ssh-server-g3 [command]
The command
can be either start
, stop
, restart
, or reload
.
- start
Start the server.
- stop
Stop the server. Existing connections stay open until closed from the client side.
- restart
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
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]
On HP-UX:
# /sbin/init.d/ssh-server-g3 [command]