Description of problem: sshd hangs for 1min at: "pledge: exec" Searching for this bug yielded: https://unix.stackexchange.com/questions/340309/ssh-7-4-prolonged-pause-at-pledge-network which looks like the same issue, except that it was fedora25 on a Raspberry Pi. I'm seeing the issue on edora27 KVM machines (x86_64 and i686. I'm not seeing the issue of ffedora26 In that note there was a suggestion to set: "UseDNS no" According to /etc/ssh/sshd_config, this is the commented out value, which I take to mean the deefault. I uncommented the "UseDNS no" line, the tried to "systemctl restart sshd" but that hung. I then rebooted and now ssh works without delay. Version-Release number of selected component (if applicable): kernel-4.12.0-0.rc1.git0.1.fc27.x86_64 openssh-7.5p1-2.fc27.x86_64 systemd-233-2.fc27.x86_64 How reproducible: 100% Steps to Reproduce: 1.(from some other system) ssh -vvv bld-fedora27 2. 3. Actual results: hangs for 1min at: debug1: pledge: exec Expected results: no hang Additional info: Change "#UseDNS no" to "UseDNS no" and rebooting, works for me so far.
Pledge is not used in Linux. It is an OpenBSD way of limiting processes so it is actually hanging on something else around this. From this report is not even clear if the "hang" is on the server or on the client (for that I would need the debug logs from client and server with timestamps). UseDNS no is a default so no need to change it. You are also using Fedora rawhide, which might have some bugs below openssh level (glibc, kernel, ...) causing this and the reboot resolved the issue for you. I am not sure what is the the intention of this bug report or what resolution you expect.
further updates seem to have cleared the problem. Cannot reproduce now.
Probably a consequence of: https://bugzilla.redhat.com/show_bug.cgi?id=1463745