#2 tunnel ssh connections

closed
nobody
None
5
2006-08-04
2006-04-20
No

Hello, I would like to use gstm to open different SSH
connections to servers inside my office.
I have one host which is accessible through port 22 and
using gstm I can redirect local ports to remote servers
inside my office, the problem is that RSA host key
verification only uses localhost key so when I set
different local redirections pointing to different
remote machines this ones store their key as
"localhost" in my known_hosts file so every time I
connect to another host I have to manually remove the
localhost key.

Do you have any idea on how to solve this?

Thanks.

Discussion

  • Mark Smulders

    Mark Smulders - 2006-07-20

    Logged In: YES
    user_id=361180

    You could enter a number of "alias" hosts in your /etc/hosts
    file; one for each office host you want to access for 127.0.0.1
    You could think of hostnames resembling pc names or IP
    addresses. eg:
    127.0.0.1 fwpc1
    ('fw' standing for 'forward' and 'pc1' being the name of
    the pc you're connecting to)
    Then when connecting with SSH, connect to host 'fwpc1' on
    the appropriate portnumber (like you did localhost)

     
  • Mark Smulders

    Mark Smulders - 2006-07-20
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.