Best way to stop autossh tunnel

1055680 pts.
Tags:
SSH
I have a autossh tunnel. What's the best way to stop it? I tried to find documentation but couldn't find any that helped. Is it as easy as rebooting the machine? Thank you very much.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Good write up and explanation can be found here. 

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    How did you setup the autossh terminal? Is it running by a script or you manually start this session? Assuming this is Linux OS, If you started by a script, you can stop the script immediately or by manually by supplying commends like kill -9 then put the PID_number. Or use this command also stop the job like, killall autossh.
    96,940 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: