Hi All,

Anyone got any ideas on cleanly exiting a ssh session to the novell
server other than by shutting off sshd or killing the local process?

I have an automated script that starts up, shuts down, modifies or
otherwise messes around with certain processes on the netware server
prior to a backup running (using plink and a pre-job script in the
backup package) and conversely, undoes its changes afterwards.

This works well, but the only way I can find to get the plink session
to terminate so the script can continue is to add:

sshd shutdown
delay 5

to the end of the script. obviously, this is a bit (lot!) crude, and I
would love a cleaner, session specific solution. Anyone got something