Search This Blog

Multiple Hop SSH using Putty


  • use plink in command line:
    • plink -t -X -A username@gateway.yourcompany.com ssh -X -A username@remoteWorkstation
      
  • use putty:
    • Host Name: username@gateway.yourcompany.com
    • SSH:
      • Remote command: ssh username@remoteWorkstaion.yourcompany.com

    • NOTE: The options below can be specified:
      • -t enable pty allocation (used so you can do the second ssh from gateway to the work computer)
      • -A agent forwarding (only needed if you are using Pageant or another key agent)
      • -X enable X11 forwarding (only needed if you want to send X11 back to your home computer)
      • TO run X11 server on Windows, see this post.

See Also:




No comments:

Post a Comment