How do I compile OpenSSH so that I can use: ListenAddress 0.0.0.0 in my sshd_config file ? Currently I get: [root at dark openssh-2.2.0p1]# sshd -d debug: sshd version OpenSSH_2.2.0p1 debug: Seeding random number generator debug: read DSA private key done debug: Seeding random number generator error: getnameinfo failed fatal: Cannot bind any address. if I try to use "ListenAddress 0.0.0.0". If I put in the full ip of the system that runs OpenSSH server, then it works fine. Thank you. -- Paul Faure paul at paulfaure.com Carleton University Systems Engineer 3rd Year paul at porkchop.org Engsoc Admin/BOG Technical Director paul at engsoc.org _______________________________________________ Pam-list mailing list Pam-list at redhat.com https://listman.redhat.com/mailman/listinfo/pam-list
> -----Original Message----- > From: Paul Nicholas Faure [mailto:paul at engsoc.org] > > How do I compile OpenSSH so that I can use: > ListenAddress 0.0.0.0 > in my sshd_config file ? > > Currently I get: > [root at dark openssh-2.2.0p1]# sshd -d > debug: sshd version OpenSSH_2.2.0p1 > debug: Seeding random number generator > debug: read DSA private key done > debug: Seeding random number generator > error: getnameinfo failed > fatal: Cannot bind any address. > > if I try to use "ListenAddress 0.0.0.0". If I put in the full > ip of the > system that runs OpenSSH server, then it works fine.What version of *nix are you using? It works fine for me on Linux (RPM), OpenBSD and Solaris with the default options. Greg
Yea, thats just it. The RPM works, but I wand to compile it, so I need the options that people use to make the RPMs. On Thu, 14 Sep 2000, Gregory Leblanc wrote:> > -----Original Message----- > > From: Paul Nicholas Faure [mailto:paul at engsoc.org] > > > > How do I compile OpenSSH so that I can use: > > ListenAddress 0.0.0.0 > > in my sshd_config file ? > > > > Currently I get: > > [root at dark openssh-2.2.0p1]# sshd -d > > debug: sshd version OpenSSH_2.2.0p1 > > debug: Seeding random number generator > > debug: read DSA private key done > > debug: Seeding random number generator > > error: getnameinfo failed > > fatal: Cannot bind any address. > > > > if I try to use "ListenAddress 0.0.0.0". If I put in the full > > ip of the > > system that runs OpenSSH server, then it works fine. > > What version of *nix are you using? It works fine for me on Linux (RPM), > OpenBSD and Solaris with the default options. > Greg >-- Paul Faure paul at paulfaure.com Carleton University Systems Engineer 3rd Year paul at porkchop.org Engsoc Admin/BOG Technical Director paul at engsoc.org
> -----Original Message----- > From: Paul Nicholas Faure [mailto:paul at engsoc.carleton.ca] > > Yea, thats just it. The RPM works, but I wand to compile it, > so I need the > options that people use to make the RPMs.These are the configure options from the RPM for 2.2.0p1-2. CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --with-tcp-wrappers --with-ipv4-default \ --with-rsh=/usr/bin/rsh Greg
On Thu, 14 Sep 2000, Paul Nicholas Faure wrote:> How do I compile OpenSSH so that I can use: > ListenAddress 0.0.0.0 > in my sshd_config file ? > > Currently I get: > [root at dark openssh-2.2.0p1]# sshd -d > debug: sshd version OpenSSH_2.2.0p1 > debug: Seeding random number generator > debug: read DSA private key done > debug: Seeding random number generator > error: getnameinfo failed > fatal: Cannot bind any address. > > if I try to use "ListenAddress 0.0.0.0". If I put in the full ip of the > system that runs OpenSSH server, then it works fine.What platform are you using? -d -- | ``The power of accurate observation is | Damien Miller <djm at mindrot.org> | commonly called cynicism by those who | @Work <djm at ibs.com.au> | have not got it'' - George Bernard Shaw | http://www.mindrot.org
On Sat, 16 Sep 2000, Damien Miller wrote:> On Thu, 14 Sep 2000, Paul Nicholas Faure wrote: > > > How do I compile OpenSSH so that I can use: > > ListenAddress 0.0.0.0 > > in my sshd_config file ? > > > > Currently I get: > > [root at dark openssh-2.2.0p1]# sshd -d > > debug: sshd version OpenSSH_2.2.0p1 > > debug: Seeding random number generator > > debug: read DSA private key done > > debug: Seeding random number generator > > error: getnameinfo failed > > fatal: Cannot bind any address. > > > > if I try to use "ListenAddress 0.0.0.0". If I put in the full ip of the > > system that runs OpenSSH server, then it works fine. > > What platform are you using?RedHat 6.2 The RPMs that I got seem to support "ListenAddress 0.0.0.0" but not if I compile from scratch. Thanks> > -d > >-- Paul Faure paul at paulfaure.com Carleton University Systems Engineer 3rd Year paul at porkchop.org Engsoc Admin/BOG Technical Director paul at engsoc.org