Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 22:05:07 +0100
From:      Roger Olofsson <raggen@passagen.se>
To:        Noah <admin2@enabled.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: sshd attempting to start twice?
Message-ID:  <45E34B83.6000602@passagen.se>
In-Reply-To: <45E32743.2010405@enabled.com>
References:  <45E32743.2010405@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Without knowing more, could sshd be listening to more than one interface 
  in your machine? If so, try setting 'ListenAddress 
your.ip.adress.here' in /etc/ssh/sshd_config.

Greetings
/Roger

Noah skrev:
> Hi there,
> 
> any clues why sshd is attempting to start twice?
> 
> 
> sshd[836]: error: Bind to port 22 on :: failed: Address already in use.
> sshd[836]: error: Bind to port 22 on 0.0.0.0 failed: Address already in 
> use.
> 
> 
> here is the /etc/rc.conf of the server:
> 
> -- sysinstall generated deltas -- # Fri Jan 26 05:42:42 2007
> # Created: Fri Jan 26 05:42:42 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> linux_enable="YES"
> named_enable="YES"
> moused_enable="YES"
> nfs_client_enable="YES"
> nfs_server_enable="YES"
> rpcbind_enable="YES"
> sshd_enable="YES"
> sshd_program="/usr/local/sbin/sshd"
> sshd_flags="-f /etc/ssh/sshd_config"
> usbd_enable="YES"
> ntpd_enable="YES"
> ntpd_flags="-c /etc/ntp/ntp.conf"
> ntupdate="YES"
> ntpdate_config="/etc/ntp/ntp.conf"
> nfs_client_enable="YES"
> nfs_client_flags="-n 4"
> inetd_enable="YES"
> syslog_ng_enable="YES"
> syslog_ng_pid="/var/run/syslog-ng.pid"
> 
> 
> 
> cheers,
> 
> Noah
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E34B83.6000602>