K
K
Konstantin Frolov2019-10-02 12:04:01
SSH
Konstantin Frolov, 2019-10-02 12:04:01

How to avoid tunnel rupture?

Welcome all!
Using plink (included with putty), I make a reverse tunnel from a windows computer to a VPS in order to bypass NAT and a gray ip address.
The problem is that the tunnel is constantly broken and you have to constantly go through TeamViewer and start it again.
Command:
plink.exe -C -N -R 4521:localhost:3389 [email protected] -no-antispoof -pw C00lpa$$0rd Windows
command line error "Network error: Software caused connection abort"
How can I solve this problem ? The Internet seems to be quite stable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2019-10-02
@nitro80

-o "ServerAliveInterval 60"have you tried adding?

A
Alexander, 2019-10-02
@NeiroNx

You have an error like "The remote host forcibly terminated the existing connection"
Write a script that will restore the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question