Can't connect to openssh 2.3.0

Can't connect to openssh 2.3.0

Post by MH » Fri, 19 Jan 2001 11:17:42



I am unable to connect to my RH 6.2 firewall via the openssh 2.2.1 client
on my RH 7.0 workstation.  I have no problem connecting to my RH 7.0
webserver, also running openssh 2.2.1.

The sshd service doesn't seem to be running.  I tried starting it (sshd
start) but got an error "/usr/local/sbin/sshd/sshd_config: no such file or
directory".  This file is actually in /etc/ssh/ which is where I would
expect it to be given the options I selected (see below).

I've read the FAQ on the openssh website, and the installation instructions
(which seems to have some errors/omissions) but haven't found a clue.  I
installed openssh 2.3.0 from source, and everything seemed to go well--no
errors.  The configuration files seem to have been placed correctly
(contrary to instructions).  The only options I set at ./configure were:

--sysconfdir=/etc/ssh
--with_tcp_wrappers
--with_md5_passwords

The error I get is "secure connection to SERVER refused".

I have an account on SERVER, and my LAN is listed in HOSTS.ALLOW.  Any
ideas on how to get the server started?  Should I just blow openssh away
and start from scratch?

 
 
 

Can't connect to openssh 2.3.0

Post by Bill Unr » Fri, 19 Jan 2001 15:32:12



]I am unable to connect to my RH 6.2 firewall via the openssh 2.2.1 client
]on my RH 7.0 workstation.  I have no problem connecting to my RH 7.0
]webserver, also running openssh 2.2.1.

]The sshd service doesn't seem to be running.  I tried starting it (sshd
]start) but got an error "/usr/local/sbin/sshd/sshd_config: no such file or
]directory".  This file is actually in /etc/ssh/ which is where I would
]expect it to be given the options I selected (see below).

man sshd
sshd -f /etc/ssh/sshd_config
Of course somehow the compilation assumed
/usr/local/sbin/sshd/sshd_config as your config file. Something is wong
in your Makefile probably.

also look in /etc/ssh/sshd_config to see if there is anything funny in
there.

]I've read the FAQ on the openssh website, and the installation instructions
](which seems to have some errors/omissions) but haven't found a clue.  I
]installed openssh 2.3.0 from source, and everything seemed to go well--no
]errors.  The configuration files seem to have been placed correctly
](contrary to instructions).  The only options I set at ./configure were:

]--sysconfdir=/etc/ssh
]--with_tcp_wrappers
]--with_md5_passwords

]The error I get is "secure connection to SERVER refused".

]I have an account on SERVER, and my LAN is listed in HOSTS.ALLOW.  Any
]ideas on how to get the server started?  Should I just blow openssh away
]and start from scratch?

 
 
 

Can't connect to openssh 2.3.0

Post by MH » Sat, 20 Jan 2001 13:17:01



> man sshd
> sshd -f /etc/ssh/sshd_config
> Of course somehow the compilation assumed
> /usr/local/sbin/sshd/sshd_config as your config file. Something is wong
> in your Makefile probably.

> also look in /etc/ssh/sshd_config to see if there is anything funny in
> there.

OK.  I recompiled openssh 2.3.0 and left out the sysconfdir option, so
sshd_config is where sshd expects it.  I can now start the sshd service.

However, when I try to logon, I am prompted for a password (this is good)
but when I supply the password, I am denied access and prompted again (this
is bad).  On the third try, I am disconnected.  I can logon to this box
locally.