I want to create a config file and tell ssh to deal with it. I don't want to use ~/.ssh/config because these are config files per project and not per user. So I'm trying to roll with:

ssh -F project_servers.ssh

And terminal returns ssh usage. This is the contents of the file I want SSH to play with:

Host preview
User xxxx
Port 52
HostName xxxx.com

Anybody knows what I'm doing wrong here?

Thanks

link|improve this question

50% accept rate
feedback

1 Answer

up vote 5 down vote accepted

You still need to request the named Host section on the command line:

ssh -F project_servers.ssh preview
link|improve this answer
1  
i hope you'll never extinct! Thank you sir, that was the hack indeed! – fabjoa May 7 '11 at 8:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.