Your browser does not allow storing cookies. We recommend enabling them.

SSH

Restarting the Server

Console

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

===> 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.

ISPF

To restart the server in ISPF, enter the Tectia SSH Assistant option 4.1.3 TSRVR (Restart the SSH server).

You should see the following console message:

 ISF031I CONSOLE <USERID> ACTIVATED
-F SSHD2,RESTART
 +SSZ0003I Command RESTART accepted

To kill existing connections and restart the server, enter the Tectia SSH Assistant option 4.1.4 TSRVRF (Restart the SSH server, killing connections).


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now