Description of problem: Due to project requirements I've disabled IPv6 (via sysctl net.ipv6.conf.all.disable_ipv6=1) on a number of machines. Once done, I could no longer ssh -X or SSH -y into the effected machines. Starting sshd from command line returns the following output: $ /usr/sbin/sshd -d debug1: sshd version OpenSSH_5.6p1 debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-d' Set /proc/self/oom_score_adj from 0 to -1000 debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. debug1: Bind to port 22 on ::. Server listening on :: port 22. ^C Forcing IPv4 only (via -4 command line) solved the problem. (Either /usr/sbin -D -4 or creating /etc/sysconfig/sshd that contains OPTIONS=-4) Version-Release number of selected component (if applicable): openssh-server-5.6p1-34.fc15.1.x86_64 How reproducible: Always.
Still present in F16. Work-around requires patch in https://bugzilla.redhat.com/show_bug.cgi?id=754732.
You can also set 'AddressFamily inet' in /etc/ssh/sshd_config
Thanks for the suggestion. Should any == "any available" as opposed to "inet + inet6"? - Gilboa
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
It seems that usage of AI_ADDRCONFIG flag in getaddrinfo() would help here.
openssh-5.6p1-35.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/openssh-5.6p1-35.fc15
Package openssh-5.6p1-35.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openssh-5.6p1-35.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1673/openssh-5.6p1-35.fc15 then log in and leave karma (feedback).
Any chance of getting a fixed F16 build out? I mass migrated all my desktops/workstations/servers to F16 a couple of months ago. - Gilboa
openssh-5.8p2-25.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/openssh-5.8p2-25.fc16
openssh-5.9p1-19.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/openssh-5.9p1-19.fc17
openssh-5.6p1-35.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
openssh-5.8p2-25.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
openssh-5.9p1-19.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.