SSH

Restarting and Stopping sshd2

To restart the server under MVS when you are running it as a started task, enter the following:

===> F SSHD2,RESTART

When the server is restarted, existing connections will stay open until they are disconnected. If you have made configuration changes, existing connections will continue to use the old configuration settings while new connections will use the reconfigured settings. To ensure that the new settings will be used for all new connections, use the Tectia sshg3 client option --exclusive. This way a new connection is opened for each connection attempt, instead of the Connection Broker reusing recently closed connections.

To kill existing connections and restart the server, use the restart command's force option:

===> F SSHD2,RESTART FORCE

User address spaces that were running before the stop will continue to run. Any changes to the configuration or keys will take effect when the daemon is restarted and when new user connections are established.

To stop the server (without restarting it) under MVS when you are running it as a started task, enter:

===> F SSHD2,STOP

OR:

===> P SSHD2