Exit SSH from the script

Posted by Kimi on Stack Overflow See other posts from Stack Overflow or by Kimi
Published on 2010-05-03T06:05:14Z Indexed on 2010/05/03 6:58 UTC
Read the original article Hit count: 277

Filed under:
|
|
|
|

I Want to exit ssh:

Does the below line work:

ssh -f -T ${USAGE_2_USER}@${USAGE_2_HOST}

Or do i need to write it some other way . Please tell should I use exit with ssh an how?

© Stack Overflow or respective owner

Related posts about shell-scripting

Related posts about scripting