Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


tunnel ssh
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

tunnel ssh

qmessoqmesso Member

I need to create a tunnel ssh (preferably with autossh) and do forward ports to vps. The most important for me is resuming the connection during its loss. Do you know any scripts or tutorials, thank you for your help.

Comments

  • wlambrechtswlambrechts Member
    edited May 2020

    autossh does reconnect no ?

  • how about running screen, and detach so no need to worries about connection loss?

  • Is autossh smart enough to resolve the IP address of "monitoring.com" (in your example) through DNS * each * time it needs to re-establish a connection to the remote SSH server? Or does autossh only address the monitoring.com IP once, on startup? I ask, because in my potential future use case the IP address of the remote SSH server can sometimes alter without warning, although the DNS A-record for its IP address should always be held up-to - date.

Sign In or Register to comment.