Multiple SSH profiles??

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have two profiles (/etc/ssh/ssh_config) that connect to the same host is
that illegal? For som reason it only works if I outcomment one of the

Host work1
User work_user_name1
ForwardX11 yes
LocalForward 119

Host work2
User work_user_name2
ForwardX11 yes
LocalForward 119

Re: Multiple SSH profiles??

Quoted text here. Click to load it

No, that should work.  (Most people put it in ~/.ssh/config, rather than
the global config, though).

In what manner does it not work?

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline