Automatic SSH tunneling from WindowsHow to reliably keep an SSH tunnel open?How can I set in the bitvise ssh...

Accountant/ lawyer will not return my call

What is the chance of making a successful appeal to dismissal decision from a PhD program after failing the qualifying exam in the 2nd attempt?

Subset counting for even numbers

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Why does the negative sign arise in this thermodynamic relation?

What are some noteworthy "mic-drop" moments in math?

Solving "Resistance between two nodes on a grid" problem in Mathematica

Why would one plane in this picture not have gear down yet?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Unreachable code, but reachable with exception

Time travel short story where dinosaur doesn't taste like chicken

How to create a hard link to an inode (ext4)?

The bar has been raised

Can someone explain what is being said here in color publishing in the American Mathematical Monthly?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

Good allowance savings plan?

Could a cubesat be propelled to the moon?

What to do when during a meeting client people start to fight (even physically) with each others?

Can't find the Shader/UVs tab

"One can do his homework in the library"

Offered promotion but I'm leaving. Should I tell?

Does a Catoblepas statblock appear in an official D&D 5e product?

Fourth person (in Slavey language)

Peter's Strange Word



Automatic SSH tunneling from Windows


How to reliably keep an SSH tunnel open?How can I set in the bitvise ssh client, the tunnel automatic connect if open windows or restart windows?Ubuntu to Ubuntu VNC over SSH tunnelKill ssh background process after disconnect / timeout?VNC connection over SSH Tunnel with “middleman” server (Windows Viewer to Mac Server)OpenVpn and SSH tunnelingWindows SSH Client to monitor connectionRestrict SSH server tunneling portI keep on getting a error when I connect to a ssh tunnel on puttyHow to manually do what Putty on Windows does?Reverse SSH tunneling for server running in Windows OSOpen SSH tunnel and connect to MySQL













27















I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server.



Currently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it minimized, and never touch it. This works well, except when the SSH connection drops: PuTTY displays an error message, and I need to manually close the error and reconnect to the server.



What I'd like to do is have an application that can set up the two SSH tunnels, and can automatically reconnect, without needing to manually do anything, including enter a password. The data I'm sending across the two tunnels is VNC connections, so I often won't be at the machine to clear errors and enter passwords. The two tunnels are one local tunnel, and one remote tunnel.



(Yes, I am aware of the hazards of automatically logging in to SSH. I'm planning on making a dedicated user with no privileges and not allowed to interactively log in, and use that.)



I did find this question: How to reliably keep an SSH tunnel open?, but that's using Linux as the SSH client, and I'm using Windows.










share|improve this question




















  • 2





    Automatic login is not a hazard if done right. Look up SSH public-key authentication.

    – grawity
    Jan 19 '11 at 21:15











  • I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

    – David Yaw
    Jan 19 '11 at 21:26











  • Of course it does.

    – grawity
    Jan 19 '11 at 22:57











  • I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

    – David Yaw
    Jan 20 '11 at 0:13
















27















I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server.



Currently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it minimized, and never touch it. This works well, except when the SSH connection drops: PuTTY displays an error message, and I need to manually close the error and reconnect to the server.



What I'd like to do is have an application that can set up the two SSH tunnels, and can automatically reconnect, without needing to manually do anything, including enter a password. The data I'm sending across the two tunnels is VNC connections, so I often won't be at the machine to clear errors and enter passwords. The two tunnels are one local tunnel, and one remote tunnel.



(Yes, I am aware of the hazards of automatically logging in to SSH. I'm planning on making a dedicated user with no privileges and not allowed to interactively log in, and use that.)



I did find this question: How to reliably keep an SSH tunnel open?, but that's using Linux as the SSH client, and I'm using Windows.










share|improve this question




















  • 2





    Automatic login is not a hazard if done right. Look up SSH public-key authentication.

    – grawity
    Jan 19 '11 at 21:15











  • I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

    – David Yaw
    Jan 19 '11 at 21:26











  • Of course it does.

    – grawity
    Jan 19 '11 at 22:57











  • I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

    – David Yaw
    Jan 20 '11 at 0:13














27












27








27


13






I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server.



Currently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it minimized, and never touch it. This works well, except when the SSH connection drops: PuTTY displays an error message, and I need to manually close the error and reconnect to the server.



What I'd like to do is have an application that can set up the two SSH tunnels, and can automatically reconnect, without needing to manually do anything, including enter a password. The data I'm sending across the two tunnels is VNC connections, so I often won't be at the machine to clear errors and enter passwords. The two tunnels are one local tunnel, and one remote tunnel.



(Yes, I am aware of the hazards of automatically logging in to SSH. I'm planning on making a dedicated user with no privileges and not allowed to interactively log in, and use that.)



I did find this question: How to reliably keep an SSH tunnel open?, but that's using Linux as the SSH client, and I'm using Windows.










share|improve this question
















I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server.



Currently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it minimized, and never touch it. This works well, except when the SSH connection drops: PuTTY displays an error message, and I need to manually close the error and reconnect to the server.



What I'd like to do is have an application that can set up the two SSH tunnels, and can automatically reconnect, without needing to manually do anything, including enter a password. The data I'm sending across the two tunnels is VNC connections, so I often won't be at the machine to clear errors and enter passwords. The two tunnels are one local tunnel, and one remote tunnel.



(Yes, I am aware of the hazards of automatically logging in to SSH. I'm planning on making a dedicated user with no privileges and not allowed to interactively log in, and use that.)



I did find this question: How to reliably keep an SSH tunnel open?, but that's using Linux as the SSH client, and I'm using Windows.







windows ssh ssh-tunnel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 '17 at 10:04









Community

1




1










asked Jan 19 '11 at 21:07









David YawDavid Yaw

3621412




3621412








  • 2





    Automatic login is not a hazard if done right. Look up SSH public-key authentication.

    – grawity
    Jan 19 '11 at 21:15











  • I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

    – David Yaw
    Jan 19 '11 at 21:26











  • Of course it does.

    – grawity
    Jan 19 '11 at 22:57











  • I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

    – David Yaw
    Jan 20 '11 at 0:13














  • 2





    Automatic login is not a hazard if done right. Look up SSH public-key authentication.

    – grawity
    Jan 19 '11 at 21:15











  • I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

    – David Yaw
    Jan 19 '11 at 21:26











  • Of course it does.

    – grawity
    Jan 19 '11 at 22:57











  • I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

    – David Yaw
    Jan 20 '11 at 0:13








2




2





Automatic login is not a hazard if done right. Look up SSH public-key authentication.

– grawity
Jan 19 '11 at 21:15





Automatic login is not a hazard if done right. Look up SSH public-key authentication.

– grawity
Jan 19 '11 at 21:15













I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

– David Yaw
Jan 19 '11 at 21:26





I am doing that for the manual logins now, but I believe PuTTY doesn't allow the key to have a blank password.

– David Yaw
Jan 19 '11 at 21:26













Of course it does.

– grawity
Jan 19 '11 at 22:57





Of course it does.

– grawity
Jan 19 '11 at 22:57













I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

– David Yaw
Jan 20 '11 at 0:13





I must have misunderstood some of the PuTTY documentation. I probably read "we will never make PuTTY auto-type your password for you", and assumed that meant passwords were required on the key as well.

– David Yaw
Jan 20 '11 at 0:13










8 Answers
8






active

oldest

votes


















14














Try Bitvise Tunnelier - it works for me. I set it to establish SSH tunnels while only being visible as a tray icon. It establishes the SSH connection on startup and re-establishes it as soon as connectivity is restored after a cut or after the system went to sleep. I still prefer the looks of the Putty console, so I keep using it - but for keeping tunnels up I now use Tunnelier. The only major downside I have found is the lack of IPv6 support, which Putty provides with no user action needed.






share|improve this answer
























  • I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

    – David Yaw
    Nov 15 '11 at 17:27






  • 2





    It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

    – fracz
    Jul 28 '16 at 22:47











  • @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

    – Success Man
    Sep 1 '18 at 4:02











  • @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

    – Jean-Marc Liotier
    Sep 12 '18 at 13:32





















10














Try MyEnTunnel. It can reconnect at connections failures.



enter image description here






share|improve this answer
























  • link doesn't work :(

    – gadelat
    Dec 28 '18 at 14:09











  • It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

    – Ebrahim Byagowi
    Dec 28 '18 at 20:54



















2














Have a look at Xshell - it's more scriptable than PuTTY and is free for home use (if that's where you need to use it). It claims to have an auto-reconnect feature but I haven't tried it and have been on a Linux-based laptop for a good few months now so don't have any means to test it at the mo.






share|improve this answer


























  • Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

    – alexeit
    Feb 7 '12 at 2:23



















1














If your a fan of Putty, try out Putty Tray.



It has a few additional functions, including attempting to auto-reconnect after a connection failure and reconnecting when your computer wakes from standby.



As already mentioned by someone else, I'd combine this with public-key authentication with no pass-phrase.



In theory this should be pretty reliable, but i'm no security expert so can't advise you on that front.






share|improve this answer































    1














    Two great tools :



    Both have those features :




    • Could be automated at boot

    • Opensource

    • Manage many tunnels at the same time

    • Could reside in the system tray

    • Free of charge (Mobaxterm have a free version)

    • Encrypt stored password


    1. Mobaxterm



    Site : http://mobaxterm.mobatek.net/



    Capture :



    enter image description here



    2. SSH Tunnel Manager



    Site : https://code.google.com/archive/p/ssh-tunnel-manager/



    Capture :



    enter image description here






    share|improve this answer































      0














      I googled it and gota a few results for your question, basically you could always try a search combo of automate putty login which I did. Here is a particularly useful result that should suit you:



      http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/



      It walks you through how to setup a macro for putty. Also download Putty connection manager here (as the link is broken from initial link):



      http://sourceforge.net/projects/puttycm/






      share|improve this answer
























      • The SourceForge link for PuttyCM is broken. See this question.

        – Craig McQueen
        Jul 24 '12 at 7:06













      • @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

        – Jakub
        Jul 25 '12 at 0:18






      • 1





        Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

        – Craig McQueen
        Jul 25 '12 at 4:50



















      0














      I used Putty as well and had the same problem until I found a better solution -
      Try ADVSoft Persistent SSH
      https://persistentssh.com
      works as a Windows service and keeps SSH tunnels in run state. Free for personal use, no need to install anything else.






      share|improve this answer































        0














        I tried many solutions like SSH tunnel managers, but all were inconvinient for me: too many configuration screens, sometimes buggy (one time SSH tunnel manager purged all! settings I had! So I had to restore settings for all 30 tunnels). So they all lost my trust. That's why I come up with custom Powershell script, easy configurable, changeable, small, but works. Posted here.





        share








        New contributor




        Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f235395%2fautomatic-ssh-tunneling-from-windows%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          8 Answers
          8






          active

          oldest

          votes








          8 Answers
          8






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          14














          Try Bitvise Tunnelier - it works for me. I set it to establish SSH tunnels while only being visible as a tray icon. It establishes the SSH connection on startup and re-establishes it as soon as connectivity is restored after a cut or after the system went to sleep. I still prefer the looks of the Putty console, so I keep using it - but for keeping tunnels up I now use Tunnelier. The only major downside I have found is the lack of IPv6 support, which Putty provides with no user action needed.






          share|improve this answer
























          • I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

            – David Yaw
            Nov 15 '11 at 17:27






          • 2





            It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

            – fracz
            Jul 28 '16 at 22:47











          • @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

            – Success Man
            Sep 1 '18 at 4:02











          • @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

            – Jean-Marc Liotier
            Sep 12 '18 at 13:32


















          14














          Try Bitvise Tunnelier - it works for me. I set it to establish SSH tunnels while only being visible as a tray icon. It establishes the SSH connection on startup and re-establishes it as soon as connectivity is restored after a cut or after the system went to sleep. I still prefer the looks of the Putty console, so I keep using it - but for keeping tunnels up I now use Tunnelier. The only major downside I have found is the lack of IPv6 support, which Putty provides with no user action needed.






          share|improve this answer
























          • I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

            – David Yaw
            Nov 15 '11 at 17:27






          • 2





            It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

            – fracz
            Jul 28 '16 at 22:47











          • @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

            – Success Man
            Sep 1 '18 at 4:02











          • @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

            – Jean-Marc Liotier
            Sep 12 '18 at 13:32
















          14












          14








          14







          Try Bitvise Tunnelier - it works for me. I set it to establish SSH tunnels while only being visible as a tray icon. It establishes the SSH connection on startup and re-establishes it as soon as connectivity is restored after a cut or after the system went to sleep. I still prefer the looks of the Putty console, so I keep using it - but for keeping tunnels up I now use Tunnelier. The only major downside I have found is the lack of IPv6 support, which Putty provides with no user action needed.






          share|improve this answer













          Try Bitvise Tunnelier - it works for me. I set it to establish SSH tunnels while only being visible as a tray icon. It establishes the SSH connection on startup and re-establishes it as soon as connectivity is restored after a cut or after the system went to sleep. I still prefer the looks of the Putty console, so I keep using it - but for keeping tunnels up I now use Tunnelier. The only major downside I have found is the lack of IPv6 support, which Putty provides with no user action needed.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 7 '11 at 23:28









          Jean-Marc LiotierJean-Marc Liotier

          439512




          439512













          • I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

            – David Yaw
            Nov 15 '11 at 17:27






          • 2





            It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

            – fracz
            Jul 28 '16 at 22:47











          • @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

            – Success Man
            Sep 1 '18 at 4:02











          • @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

            – Jean-Marc Liotier
            Sep 12 '18 at 13:32





















          • I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

            – David Yaw
            Nov 15 '11 at 17:27






          • 2





            It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

            – fracz
            Jul 28 '16 at 22:47











          • @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

            – Success Man
            Sep 1 '18 at 4:02











          • @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

            – Jean-Marc Liotier
            Sep 12 '18 at 13:32



















          I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

          – David Yaw
          Nov 15 '11 at 17:27





          I've been using this for a few months now. It's just right: sits in the system tray, turn off any popups complaining about disconnects and such, and it keeps the tunnels open. I still use PuTTY if I'm going to be doing much work over the connection, but for tunnels & quick terminal stuff, Tunnelier works good.

          – David Yaw
          Nov 15 '11 at 17:27




          2




          2





          It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

          – fracz
          Jul 28 '16 at 22:47





          It may not be clear, but you set up tunnels in the C2S tab and reverse tunnels in S2C tab. It stands for client2server and server2client, respectively.

          – fracz
          Jul 28 '16 at 22:47













          @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

          – Success Man
          Sep 1 '18 at 4:02





          @Jean-Marc Liotier Maybe you can help me. Look at this : superuser.com/questions/1353398/…

          – Success Man
          Sep 1 '18 at 4:02













          @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

          – Jean-Marc Liotier
          Sep 12 '18 at 13:32







          @SuccessMan - I'm sorry, it has been years since I have used any Microsoft product more than superficially. I'm now all-Debian, where this sort of problem is solved trivially...

          – Jean-Marc Liotier
          Sep 12 '18 at 13:32















          10














          Try MyEnTunnel. It can reconnect at connections failures.



          enter image description here






          share|improve this answer
























          • link doesn't work :(

            – gadelat
            Dec 28 '18 at 14:09











          • It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

            – Ebrahim Byagowi
            Dec 28 '18 at 20:54
















          10














          Try MyEnTunnel. It can reconnect at connections failures.



          enter image description here






          share|improve this answer
























          • link doesn't work :(

            – gadelat
            Dec 28 '18 at 14:09











          • It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

            – Ebrahim Byagowi
            Dec 28 '18 at 20:54














          10












          10








          10







          Try MyEnTunnel. It can reconnect at connections failures.



          enter image description here






          share|improve this answer













          Try MyEnTunnel. It can reconnect at connections failures.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 7 '12 at 8:08









          Ebrahim ByagowiEbrahim Byagowi

          30129




          30129













          • link doesn't work :(

            – gadelat
            Dec 28 '18 at 14:09











          • It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

            – Ebrahim Byagowi
            Dec 28 '18 at 20:54



















          • link doesn't work :(

            – gadelat
            Dec 28 '18 at 14:09











          • It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

            – Ebrahim Byagowi
            Dec 28 '18 at 20:54

















          link doesn't work :(

          – gadelat
          Dec 28 '18 at 14:09





          link doesn't work :(

          – gadelat
          Dec 28 '18 at 14:09













          It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

          – Ebrahim Byagowi
          Dec 28 '18 at 20:54





          It can be found here also github.com/feralhosting/feralfilehosting/tree/master/…

          – Ebrahim Byagowi
          Dec 28 '18 at 20:54











          2














          Have a look at Xshell - it's more scriptable than PuTTY and is free for home use (if that's where you need to use it). It claims to have an auto-reconnect feature but I haven't tried it and have been on a Linux-based laptop for a good few months now so don't have any means to test it at the mo.






          share|improve this answer


























          • Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

            – alexeit
            Feb 7 '12 at 2:23
















          2














          Have a look at Xshell - it's more scriptable than PuTTY and is free for home use (if that's where you need to use it). It claims to have an auto-reconnect feature but I haven't tried it and have been on a Linux-based laptop for a good few months now so don't have any means to test it at the mo.






          share|improve this answer


























          • Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

            – alexeit
            Feb 7 '12 at 2:23














          2












          2








          2







          Have a look at Xshell - it's more scriptable than PuTTY and is free for home use (if that's where you need to use it). It claims to have an auto-reconnect feature but I haven't tried it and have been on a Linux-based laptop for a good few months now so don't have any means to test it at the mo.






          share|improve this answer















          Have a look at Xshell - it's more scriptable than PuTTY and is free for home use (if that's where you need to use it). It claims to have an auto-reconnect feature but I haven't tried it and have been on a Linux-based laptop for a good few months now so don't have any means to test it at the mo.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 24 '12 at 7:51









          Craig McQueen

          5621518




          5621518










          answered Jan 19 '11 at 21:37









          Linker3000Linker3000

          24.6k34265




          24.6k34265













          • Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

            – alexeit
            Feb 7 '12 at 2:23



















          • Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

            – alexeit
            Feb 7 '12 at 2:23

















          Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

          – alexeit
          Feb 7 '12 at 2:23





          Xshell is awesome, i have switched to it from SecureCRT 3-4 years ago and haven't looked back

          – alexeit
          Feb 7 '12 at 2:23











          1














          If your a fan of Putty, try out Putty Tray.



          It has a few additional functions, including attempting to auto-reconnect after a connection failure and reconnecting when your computer wakes from standby.



          As already mentioned by someone else, I'd combine this with public-key authentication with no pass-phrase.



          In theory this should be pretty reliable, but i'm no security expert so can't advise you on that front.






          share|improve this answer




























            1














            If your a fan of Putty, try out Putty Tray.



            It has a few additional functions, including attempting to auto-reconnect after a connection failure and reconnecting when your computer wakes from standby.



            As already mentioned by someone else, I'd combine this with public-key authentication with no pass-phrase.



            In theory this should be pretty reliable, but i'm no security expert so can't advise you on that front.






            share|improve this answer


























              1












              1








              1







              If your a fan of Putty, try out Putty Tray.



              It has a few additional functions, including attempting to auto-reconnect after a connection failure and reconnecting when your computer wakes from standby.



              As already mentioned by someone else, I'd combine this with public-key authentication with no pass-phrase.



              In theory this should be pretty reliable, but i'm no security expert so can't advise you on that front.






              share|improve this answer













              If your a fan of Putty, try out Putty Tray.



              It has a few additional functions, including attempting to auto-reconnect after a connection failure and reconnecting when your computer wakes from standby.



              As already mentioned by someone else, I'd combine this with public-key authentication with no pass-phrase.



              In theory this should be pretty reliable, but i'm no security expert so can't advise you on that front.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 19 '11 at 23:46









              AshimemaAshimema

              14018




              14018























                  1














                  Two great tools :



                  Both have those features :




                  • Could be automated at boot

                  • Opensource

                  • Manage many tunnels at the same time

                  • Could reside in the system tray

                  • Free of charge (Mobaxterm have a free version)

                  • Encrypt stored password


                  1. Mobaxterm



                  Site : http://mobaxterm.mobatek.net/



                  Capture :



                  enter image description here



                  2. SSH Tunnel Manager



                  Site : https://code.google.com/archive/p/ssh-tunnel-manager/



                  Capture :



                  enter image description here






                  share|improve this answer




























                    1














                    Two great tools :



                    Both have those features :




                    • Could be automated at boot

                    • Opensource

                    • Manage many tunnels at the same time

                    • Could reside in the system tray

                    • Free of charge (Mobaxterm have a free version)

                    • Encrypt stored password


                    1. Mobaxterm



                    Site : http://mobaxterm.mobatek.net/



                    Capture :



                    enter image description here



                    2. SSH Tunnel Manager



                    Site : https://code.google.com/archive/p/ssh-tunnel-manager/



                    Capture :



                    enter image description here






                    share|improve this answer


























                      1












                      1








                      1







                      Two great tools :



                      Both have those features :




                      • Could be automated at boot

                      • Opensource

                      • Manage many tunnels at the same time

                      • Could reside in the system tray

                      • Free of charge (Mobaxterm have a free version)

                      • Encrypt stored password


                      1. Mobaxterm



                      Site : http://mobaxterm.mobatek.net/



                      Capture :



                      enter image description here



                      2. SSH Tunnel Manager



                      Site : https://code.google.com/archive/p/ssh-tunnel-manager/



                      Capture :



                      enter image description here






                      share|improve this answer













                      Two great tools :



                      Both have those features :




                      • Could be automated at boot

                      • Opensource

                      • Manage many tunnels at the same time

                      • Could reside in the system tray

                      • Free of charge (Mobaxterm have a free version)

                      • Encrypt stored password


                      1. Mobaxterm



                      Site : http://mobaxterm.mobatek.net/



                      Capture :



                      enter image description here



                      2. SSH Tunnel Manager



                      Site : https://code.google.com/archive/p/ssh-tunnel-manager/



                      Capture :



                      enter image description here







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Dec 7 '16 at 16:52









                      intikaintika

                      744316




                      744316























                          0














                          I googled it and gota a few results for your question, basically you could always try a search combo of automate putty login which I did. Here is a particularly useful result that should suit you:



                          http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/



                          It walks you through how to setup a macro for putty. Also download Putty connection manager here (as the link is broken from initial link):



                          http://sourceforge.net/projects/puttycm/






                          share|improve this answer
























                          • The SourceForge link for PuttyCM is broken. See this question.

                            – Craig McQueen
                            Jul 24 '12 at 7:06













                          • @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                            – Jakub
                            Jul 25 '12 at 0:18






                          • 1





                            Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                            – Craig McQueen
                            Jul 25 '12 at 4:50
















                          0














                          I googled it and gota a few results for your question, basically you could always try a search combo of automate putty login which I did. Here is a particularly useful result that should suit you:



                          http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/



                          It walks you through how to setup a macro for putty. Also download Putty connection manager here (as the link is broken from initial link):



                          http://sourceforge.net/projects/puttycm/






                          share|improve this answer
























                          • The SourceForge link for PuttyCM is broken. See this question.

                            – Craig McQueen
                            Jul 24 '12 at 7:06













                          • @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                            – Jakub
                            Jul 25 '12 at 0:18






                          • 1





                            Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                            – Craig McQueen
                            Jul 25 '12 at 4:50














                          0












                          0








                          0







                          I googled it and gota a few results for your question, basically you could always try a search combo of automate putty login which I did. Here is a particularly useful result that should suit you:



                          http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/



                          It walks you through how to setup a macro for putty. Also download Putty connection manager here (as the link is broken from initial link):



                          http://sourceforge.net/projects/puttycm/






                          share|improve this answer













                          I googled it and gota a few results for your question, basically you could always try a search combo of automate putty login which I did. Here is a particularly useful result that should suit you:



                          http://www.neox.net/w/2008/04/22/putty-auto-login-macro-putty-connection-manager/



                          It walks you through how to setup a macro for putty. Also download Putty connection manager here (as the link is broken from initial link):



                          http://sourceforge.net/projects/puttycm/







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 19 '11 at 21:24









                          JakubJakub

                          2,47622028




                          2,47622028













                          • The SourceForge link for PuttyCM is broken. See this question.

                            – Craig McQueen
                            Jul 24 '12 at 7:06













                          • @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                            – Jakub
                            Jul 25 '12 at 0:18






                          • 1





                            Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                            – Craig McQueen
                            Jul 25 '12 at 4:50



















                          • The SourceForge link for PuttyCM is broken. See this question.

                            – Craig McQueen
                            Jul 24 '12 at 7:06













                          • @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                            – Jakub
                            Jul 25 '12 at 0:18






                          • 1





                            Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                            – Craig McQueen
                            Jul 25 '12 at 4:50

















                          The SourceForge link for PuttyCM is broken. See this question.

                          – Craig McQueen
                          Jul 24 '12 at 7:06







                          The SourceForge link for PuttyCM is broken. See this question.

                          – Craig McQueen
                          Jul 24 '12 at 7:06















                          @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                          – Jakub
                          Jul 25 '12 at 0:18





                          @CraigMcQueen, you do realize that this was answered in 01/19/2011!? right?

                          – Jakub
                          Jul 25 '12 at 0:18




                          1




                          1





                          Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                          – Craig McQueen
                          Jul 25 '12 at 4:50





                          Yes, I do realise. And I found it in a Google search yesterday, and other people may do so for a year or two to come.

                          – Craig McQueen
                          Jul 25 '12 at 4:50











                          0














                          I used Putty as well and had the same problem until I found a better solution -
                          Try ADVSoft Persistent SSH
                          https://persistentssh.com
                          works as a Windows service and keeps SSH tunnels in run state. Free for personal use, no need to install anything else.






                          share|improve this answer




























                            0














                            I used Putty as well and had the same problem until I found a better solution -
                            Try ADVSoft Persistent SSH
                            https://persistentssh.com
                            works as a Windows service and keeps SSH tunnels in run state. Free for personal use, no need to install anything else.






                            share|improve this answer


























                              0












                              0








                              0







                              I used Putty as well and had the same problem until I found a better solution -
                              Try ADVSoft Persistent SSH
                              https://persistentssh.com
                              works as a Windows service and keeps SSH tunnels in run state. Free for personal use, no need to install anything else.






                              share|improve this answer













                              I used Putty as well and had the same problem until I found a better solution -
                              Try ADVSoft Persistent SSH
                              https://persistentssh.com
                              works as a Windows service and keeps SSH tunnels in run state. Free for personal use, no need to install anything else.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 5 '18 at 22:27









                              Michael KarsyanMichael Karsyan

                              19412




                              19412























                                  0














                                  I tried many solutions like SSH tunnel managers, but all were inconvinient for me: too many configuration screens, sometimes buggy (one time SSH tunnel manager purged all! settings I had! So I had to restore settings for all 30 tunnels). So they all lost my trust. That's why I come up with custom Powershell script, easy configurable, changeable, small, but works. Posted here.





                                  share








                                  New contributor




                                  Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                  Check out our Code of Conduct.

























                                    0














                                    I tried many solutions like SSH tunnel managers, but all were inconvinient for me: too many configuration screens, sometimes buggy (one time SSH tunnel manager purged all! settings I had! So I had to restore settings for all 30 tunnels). So they all lost my trust. That's why I come up with custom Powershell script, easy configurable, changeable, small, but works. Posted here.





                                    share








                                    New contributor




                                    Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.























                                      0












                                      0








                                      0







                                      I tried many solutions like SSH tunnel managers, but all were inconvinient for me: too many configuration screens, sometimes buggy (one time SSH tunnel manager purged all! settings I had! So I had to restore settings for all 30 tunnels). So they all lost my trust. That's why I come up with custom Powershell script, easy configurable, changeable, small, but works. Posted here.





                                      share








                                      New contributor




                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.










                                      I tried many solutions like SSH tunnel managers, but all were inconvinient for me: too many configuration screens, sometimes buggy (one time SSH tunnel manager purged all! settings I had! So I had to restore settings for all 30 tunnels). So they all lost my trust. That's why I come up with custom Powershell script, easy configurable, changeable, small, but works. Posted here.






                                      share








                                      New contributor




                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.








                                      share


                                      share






                                      New contributor




                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.









                                      answered 4 mins ago









                                      TonyTony

                                      1011




                                      1011




                                      New contributor




                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.





                                      New contributor





                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.






                                      Tony is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Super User!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f235395%2fautomatic-ssh-tunneling-from-windows%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                                          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                                          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...