[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH through another computer




[quote]I have a private key in localhost, which is accepted for SSH by host2. How can I use this key in host2 without storing it in host1?[/quote]

How about some port-forwarding/firewall magic?

For example, if from localhost you could ssh to a specific port on machine #1 -- say, "ssh -p 13333 machine1" -- you could then configure machine1's firewall to forward packets to port 13333 automagically to machine2's ssh port.

You thus wouldn't be using machine1's ssh -- at least not on the app/ssh level; instead, you'd only be doing IP routing on machine1 as a way to get to machine2.

(He says wondering if that lame explanation will make any sense. :-)



Reply to: