[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with openssh-server



On Fri, Aug 29, 2008 at 04:57:24PM +0200, Johannes Wiedersich wrote:
> On 2008-08-29 16:26, Wayne Topa wrote:
> > Alex Samad wrote:
> >> Before I file a bug report, has any one else been having any problem
> >> with openssh-server 1:5.1p1-2
> >>
> >> seems like where ever I have installed it I haven't been able to login
> >> afterwards.  I just tracked down that it is not accepting any ipv4
> >> connections only ipv6.
> >>
> >> ssh 127.0.0.1 -l alex => work before upgrade
> >>
> >> aptitude install openssh-server=1:5.1p1-2
> >>
> > 
> > That version is working fine here running it on an amd64 box.
> 
> +1
> 
> Package: openssh-server
> Version: 1:5.1p1-2
> $ uname -a
> Linux e13-v21 2.6.26-1-686 #1 SMP Wed Aug 20 12:56:41 UTC 2008 i686
> GNU/Linux

strange its not working here


dpkg -l | grep openssh-server
ii  custom-openssh-server             0.3-1                  custom-openssh-server configuration
ii  openssh-server                    1:5.1p1-2              secure shell server, an rshd replacement

uname -a
Linux debi386 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 GNU/Linux

/usr/sbin/sshd -D4

bad addr or host: :: (Address family for hostname not supported)


as I was writing this I found the problem (re read the error message) ::
is for ipv6 equiv to 0.0.0.0 in ipv4. so I added ListenAddress 0.0.0.0
and now it listens on ipv4 and ipv6.

This seems a but strange because in hosts.allow you can use [::] as a
catch all for ipv6 and ipv4 with out having to add a 0.0.0.0 (well that
had been my presumption before !)


> 
> Johannes
> 



-- 
"We want to develop defenses that are capable of defending ourselves and defenses capable of defending others."

	- George W. Bush
03/29/2001
Washington, DC
White House press conference,

Attachment: signature.asc
Description: Digital signature


Reply to: