Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Mac ssh question



On Fri, Aug 11, 2006 at 07:07:47AM -0400, Scott R Ehrlich wrote:
> This may be a bit off topic, so please forgive -
> 
> I'm running Tiger (10.4), and when I ran 10.3.9, I used to be able to perform a
> command-line ssh redirect of two IPs to localhost.   Under Tiger, it now yells
> at me if I attempt the second redirect, saying the destination is already in
> use (or something like that), which is true.
> 
> An example of what I'm [trying to do] doing is:
> 
> ssh external.place.org -L 12345:localhost:12345
> 
> ssh external.place.org -L 12346:localhost:12346

Put them in ~/.ssh/config:
-----
Host *
Compression yes
ForwardAgent yes
ConnectionAttempts 3

Host external.place.org
LocalForward 12345 localhost:12345
LocalForward 12346 localhost:12346
-----

After that, both tunnels will automatically be set up when you
do "ssh external.place.org".

-dsr-

-- 
-. ---   -- --- .-. .   ... . -.-. .-. . - ... 
..-. ..- -.-. -.-   - .... .   -. ... .- 
..-.   ..-   -.-. -.   .-. -..   - .... ...   ..-   -.- -. .--   -.-. -..





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org