On Friday 15 December 2006 20:09, [EMAIL PROTECTED] wrote:
> > Is there a way of configuring ssh, so that if someone ssh's into my
> > machine, I can connect back and get into their machine? (Linux to
> > Linux).
>
> When he ssh's to you:
>
> ssh -R 2222:localhost:22 <your server>
>
> Then once he's logged into, you can just ssh -p 2222 localhost

For my dad I gave him a desktop icon 'ToTigger' that said

ssh -R 1200:localhost:22 [EMAIL PROTECTED]

and installed his public key on tigger. Now he clicks the desktop icon to open 
the connection.

Also I needed to fiddle the adsl modem so (obviously modem at 192.168.1.254)

ssh -p 1234 -R 1201:192.168.1.254:80 [EMAIL PROTECTED]

now I browse localhost:1201 to get the modem setup page

This is easier than the VPN route (although we used winders OpenVPN for my 
daughter travelling the world, that's easy, but linux openVPN needs root 
access to establish).

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to