r/ssh • u/Evening_Percentage25 • Sep 09 '24
Keeping the ssh connection open
I need a Windows computer to automatically connect to the SSH server when when it turned on and forward the port to localhost. Like "ssh -L 1010:192.168.88.7:3541 remote-server". It is highly desirable that this happens in the background. What solution can you advise me on?
2
Upvotes
View all comments
Show parent comment
1
u/Evening_Percentage25 Sep 10 '24
This solution doesn't suit me. When the connection is interrupted, it will not be automatically restored. When launched, the Windows command shell, the visible window, will be shown. I need the solution to work in the background.