Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 04:40:50 -0600 (CST)
From:      Denny White <dennyboy@cableone.net>
To:        igorr@speechpro.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sshd bind to port 22 fails
Message-ID:  <20020228043052.N241-100000@hal.cableone.net>
In-Reply-To: <20020228100018.GA1290@sysadm.stc>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have OpenSSH 3.0.2 installed on here.
I'm still sort of new to this. Use it
mostly since I have a constant connection
here & 3 machines. I looked in sshd_config
& saw where ports to listen to were both
commented out (:: & 0.0.0.0) & I remembered
seeing that in the error messages, so I
thought that it must default to that unless
otherwise entered. So, I bound it to this
IP on the local area network & it works
fine now with no error messages. Also, I
forgot to mention before that I could ssh
out but no one else could ssh in. Now
that works too. Are there any security
issues as far as binding sshd to this
local IP? I never had to do that on the
other 2 machines, but this is a newer
version too, on this machine. Thanks.


On Thu, 28 Feb 2002, Igor Roboul wrote:

> Date: Thu, 28 Feb 2002 13:00:19 +0300
> From: Igor Roboul <igorr@sysadm.stc>
> Reply-To: igorr@speechpro.com
> To: freebsd-questions@FreeBSD.ORG
> Subject: Re: sshd bind to port 22 fails
>
> On Thu, Feb 28, 2002 at 03:39:06AM -0600, Denny White wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Just reinstalled 4.5 on old machine to
> > use for webserver. When boot finishes,
> > get following message:
> > sshd[136]: error: Bind to port 22 on ::
> > failed: Address already in use.
> > Same message for localhost.
> > Checked /etc/services & port 22 is
> > reserved for ssh. OpenSSL version is 0.9.6a
> > OpenSSH version is 3.0.2 with patch
> > openbsd28_3.0.2
> > If I kill the process & then restart it,
> > no error messages come up. Thanks
> > for any help I can get on this.
> Do you have some ssh port intsalled?
> pkg_info | grep ssh
>
> --
> Igor Roboul, System administrator at Speech Technology Center
> http://www.speechpro.com http://www.speechpro.ru
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8fglBy0Ty5RZE55oRAipXAKC1t1o3SYlM6fguqfBhcq4kMaMGPQCgk3ql
HBE9vmqKx1OkROPfcRKuqvQ=
=jwVO
-----END PGP SIGNATURE-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020228043052.N241-100000>