Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssh not reading ~/.ssh/ssh_config [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Sun Apr 10, 2005 3:28 am    Post subject: openssh not reading ~/.ssh/ssh_config [SOLVED] Reply with quote

As the subject says, OpenSSH isn't reading my ~/.ssh/ssh_config file.

Code:
me@localhost me $ ssh -vv test.com
OpenSSH_3.9p1, OpenSSL 0.9.7c 30 Sep 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to test.com [208.48.34.132] port 22.


/etc/ssh/ssh_config is totally empty (all comments).

I need to use my own ssh_config file to set up some stuff specific to a host.
The file has r/w permissions for owner, and none for group/other.

Why isn't it reading the file?


Last edited by brucebertrand on Sun Apr 10, 2005 4:15 am; edited 1 time in total
Back to top
View user's profile Send private message
bulash
n00b
n00b


Joined: 14 Apr 2004
Posts: 63

PostPosted: Sun Apr 10, 2005 4:01 am    Post subject: Reply with quote

Code:
ssh -F ~/.ssh/ssh_config test.com
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Sun Apr 10, 2005 4:03 am    Post subject: Reply with quote

yes...thank you.
I know that, though.

I want it to read that file by default (as it seems it should).


Last edited by brucebertrand on Sun Apr 10, 2005 4:12 am; edited 2 times in total
Back to top
View user's profile Send private message
popcan
n00b
n00b


Joined: 27 Nov 2004
Posts: 33
Location: bath, ny

PostPosted: Sun Apr 10, 2005 4:07 am    Post subject: Reply with quote

isn't the default path ~/.ssh/config ? that is what the man page seems to indicate under the descripton of -F
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Sun Apr 10, 2005 4:11 am    Post subject: Reply with quote

Ahh!! Careless reading on my part!

Thanks popcan!
~b
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum