Description of problem: sshd fails to start when the hostname is 64 byte. Version-Release number of selected component (if applicable): openssh-6.3p1-5.fc20.x86_64, openssh-server-6.4p1-3.fc20.x86_64, openssh-6.2p2-7.fc19.x86_64 How reproducible: always Steps to Reproduce: 1. hostname abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcd 2. /usr/bin/ssh-keygen -q -t "ecdsa" -f /tmp/foo-$RANDOM -C "" -N "" Actual results: $ /usr/bin/ssh-keygen -q -t "ecdsa" -f /tmp/foo-$RANDOM -C "" -N "" gethostname: File name too long The above command called by: $ sshd-keygen Generating SSH2 ECDSA host key: [FAILED] $ service sshd restart Redirecting to /bin/systemctl restart sshd.service Job for sshd.service failed. See 'systemctl status sshd.service' and 'journalctl -xn' for details. From the journalctl -xn: # sshd-keygen[17739]: Generating SSH2 ECDSA host key: [FAILED] # systemd[1]: sshd.service: control process exited, code=exited status=1 # systemd[1]: Failed to start OpenSSH server daemon. The ssh server does not able to start. Expected results: The key file can be generated, and the sshd starts up. Additional info:
openssh-6.4p1-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/openssh-6.4p1-5.fc20
openssh-6.4p1-5.fc20 works
Package openssh-6.4p1-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openssh-6.4p1-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8504/openssh-6.4p1-5.fc20 then log in and leave karma (feedback).
openssh-6.4p1-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.