It is just a "Quick *Start*" guide :-)

But seriously, this is a nice idea (incorporating shutdown into the SSHD
proc).   Might also be fun to include a "restart" (HUP) setting using the
same technique.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com


On Fri, May 23, 2014 at 8:53 AM, Donald J. <[email protected]> wrote:

> Your document has instructions for starting SSHD, but I didn't see any
> for stopping SSHD.
> I use the following to start/stop SSHD:
>
> S SSHD
> S SSHD,STOP=TRUE
>
>
> //SSHD PROC STOP='FALSE'
> //*************************************************
> //**** STOP  THE SSHD TASK ( SFTP-SERVER FUNCTION )
> //  IF &STOP THEN
> //*
> //SSHX EXEC PGM=BPXBATCH,REGION=0M,TIME=NOLIMIT,
> //  PARM='SH /u/local/sbin/killsshd.sh'
> //STDERR  DD SYSOUT=*
> //*
> //*************************************************
> //**** START THE SSHD TASK ( SFTP-SERVER FUNCTION )
> //  ELSE
> //*
> //SSHD EXEC PGM=BPXBATCH,REGION=0M,TIME=NOLIMIT,
> //  PARM='PGM /bin/sh -c /u/local/sbin/sshd.sh'
> //STDERR  DD SYSOUT=*
> //*
> //  ENDIF
>
> --
>   Donald J.
>   [email protected]
>
>
> > We would appreciate any comments or feedback on this material, which we
> > will use to improve it for the community.   Either send emails to
> > [email protected] or use our community forum at http://dovetail.com/form
> >
> >
> > Kirk Wolf
> > Dovetailed Technologies
> > http://dovetail.com
> >
> >
>
> --
> http://www.fastmail.fm - The way an email service should be
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to