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

sshd+ipv6



I have a testing/unstable debian and I use OpenSSH_2.5.2p2.

this is my configuration file /etc/init.d/ssh:

# Configurable options:

OPTIONS="-6"

case "$1" in
  start)
        test -f /etc/ssh/sshd_not_to_be_run && exit 0
        echo -n "Starting OpenBSD Secure Shell server: sshd"
        start-stop-daemon --start --quiet --pidfile \
         /var/run/sshd.pid --exec /usr/sbin/sshd -- $OPTIONS

and this is the /etc/ssh/sshd_config:

Port 22
Protocol 2,1
#ListenAddress 0.0.0.0
ListenAddress ::

but when I try ssh -6 <ipv6-address> there's this problem:

sshd[23373]: Server listening on :: port 22.
sshd[23373]: Generating 768 bit RSA key.
sshd[23373]: RSA key generation complete.
sshd[23379]: fatal: get_sock_port: getnameinfo NI_NUMERICSERV failed
sshd[23381]: fatal: get_sock_port: getnameinfo NI_NUMERICSERV failed
sshd[23373]: Received signal 15; terminating. 

Someone can help me?

--
Andrea, tzu@filibusta.crema.unimi.it
---



Reply to: