TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:15003] SSH port forwarding
Quoting Timothy Wilson (wilson@visi.com):
> Hey everyone,
>
> Although I'm not from Missouri, I'd appreciate it if someone would show me a
> simple example of using SSH to forward ports. Let's say I want to use ftp to
> get some files from my account at ftp.foo.com, but I don't want to send a
> clear-text password over the wire. How would this be accomplished? Thanks.
X forwarding
remote% ssh -C -R 6020:localhost:6000 mymachine.company.com
mymachine% xterm -display localhost:20
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9