Hi All,
I'm facing a strange probleme
On the 2 servers I have with DA, ssh client is ignoring the user "~/.ssh/config" file
My file
Host localhost
HostName localhost
Port 2220
I tried on my desktop and the config file is working. I tried on my server and ssh doesn't read the file
[root@my01 git]# ssh -v git@localhost
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
On My desktop
sylvain@home:~$ ssh -v website.fr
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/sylvain/.ssh/config
debug1: /home/sylvain/.ssh/config line 1: Applying options for website.fr
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to myeshop.fr [91.123.36.247] port 2220.
debug1: Connection established.
There is not yet new version for openssh but that's shouldn't be the problem because it work on others servers with this versionof ssh and wich haven't DA
From what I read it could be a probleme of path because if I force the file it works
[root@my01 git]# ssh -v -F .ssh/config git@localhost
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data .ssh/config
debug1: Applying options for localhost
debug1: Connecting to localhost [127.0.0.1] port 2220.
debug1: Connection established.
I try on another server running DA and I have the same problem.
Thank you for your help.
I'm facing a strange probleme
On the 2 servers I have with DA, ssh client is ignoring the user "~/.ssh/config" file
My file
Host localhost
HostName localhost
Port 2220
I tried on my desktop and the config file is working. I tried on my server and ssh doesn't read the file
[root@my01 git]# ssh -v git@localhost
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
On My desktop
sylvain@home:~$ ssh -v website.fr
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/sylvain/.ssh/config
debug1: /home/sylvain/.ssh/config line 1: Applying options for website.fr
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to myeshop.fr [91.123.36.247] port 2220.
debug1: Connection established.
There is not yet new version for openssh but that's shouldn't be the problem because it work on others servers with this versionof ssh and wich haven't DA
From what I read it could be a probleme of path because if I force the file it works
[root@my01 git]# ssh -v -F .ssh/config git@localhost
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data .ssh/config
debug1: Applying options for localhost
debug1: Connecting to localhost [127.0.0.1] port 2220.
debug1: Connection established.
I try on another server running DA and I have the same problem.
Thank you for your help.