View previous topic :: View next topic |
Author |
Message |
pi-cubic Tux's lil' helper
Joined: 25 May 2003 Posts: 143
|
Posted: Thu Nov 06, 2003 8:49 pm Post subject: multiple ssh connections (port forwarding automaticly) |
|
|
hi there,
i searched the forums but my pattern didn't match my expectations. so this is my problem:
i wanna create multiple ssh tunnels in one script (to forward many ports automaticly), but don't know how to realize this.
if it was possible, i did it that way:
ssh user@remote.host -L 873:rsync.mirror:873 -L 1125:smtp.server:25 -L 6667:irc.server:6667 -L 8989:another.server:8989 -L .....etc
can anyone give me a hint howto realize this idea?
thx in advance...
pi-cubiq |
|
Back to top |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Thu Nov 06, 2003 9:06 pm Post subject: |
|
|
You seem to have the right idea already. I think the user@remote.host comes after the forwarding options.
Does it work when you try that? _________________ Meh. |
|
Back to top |
|
|
|