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

SSH

Stopping the Server

Console

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

===> F SSHD2,STOP

OR:

===> P SSHD2

ISPF

To stop the server in ISPF, enter the Tectia SSH Assistant option 4.1.2 TSRVP (Stop the SSH server).

You should see the following console message:

 ISF031I CONSOLE <USERID> ACTIVATED
-P SSHD2
 +SSZ0003I Command STOP accepted
 +SSZ0005I Dispatching signal to S=<PID> (sshd2)

USS

Under USS, if you want just to stop the server (without restarting it), you can use the following command:

> /opt/tectia/etc/init.d/sshd2 stop


 

 
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