Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ssh stopped working after restart

I get this message in the system logs of the server:
"execv( /usr/libexec/sshd-keygen-wrapper ) failed: Exec formant error (errno = 8)"

on the client I get:
"ssh exchangeidentification: Connection closed by remote host"

ssh was working and then I did a restart and it failed

when I connect with -v I see
debug1: identity file /Users/xxxxx/.ssh/identity type -1
debug1: identity file /Users/xxxxx/.ssh/id_rsa type -1
debug1: identity file /Users/xxxxx/.ssh/id_dsa type -1
ssh exchangeidentification: Connection closed by remote host

even after i moved the folder .ssh to .ssh_bak

x server g5, Mac OS X (10.3.x)

Posted on Dec 11, 2009 1:15 PM

Reply
2 replies

Dec 27, 2009 7:57 AM in response to Stephen Thomas2

After poking around quite a bit to no avail I started to look closer into the error message for execv.

It turns out that this was not really an issue with ssh but with the exec file sshd-kegen-wrapper. I did a quick compare between the files on the server and on another machine and found that the contents of the file on the server was corrupted. Not sure how that could have happened. There have been a couple of short power outages but the server is on a UPS and there was no loss of power to the server only to an external drive connected to the server.

I have copied over the "good" wrapper file an restarted sshd - all works now.

ssh stopped working after restart

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.