relaytool.exe ssh reports invalid file format for .PEM

50 views
Skip to first unread message

Scott Ruffner

unread,
Nov 23, 2020, 2:59:48 PM11/23/20
to admin-...@globus.org
We've had a couple of Windows workstations throw this error during the GPC registration process.  During the step of registering a new GPC endpoint, the relaytool.exe program tries to load the anonymous-relay-key.pem file (private key, for SSH?) to complete the registration, but then complains it is an invalid format.

The user doing the install has tried a few times to completely remove and reinstall the packages, and the keyfile is the brand new one out of the package (based on the timestamp on the file, and having manually deleted the old directory for good measure).  I've verified the key matches the one I have used on a Mac and Linux box to register.  I tried invoking SSH directly with the key, but I'm not sure what the username (for the anonymous user) is and the key is rejected.

Has anyone seen this error? 

b'[ssh stderr] load pubkey... invalid format'

Scott Ruffner

Michael Link

unread,
Nov 23, 2020, 3:30:39 PM11/23/20
to dis...@globus.org
Hi Scott,

That message can be ignored. It is actually attempting to load an
optional corresponding public key, and the fact that it results in an
error message is a known bug in the version of ssh that we ship with
Globus Connect Personal. It'll be updated in our next release.

I assume the registration is still not succeeding, so there is something
else causing it that may not be apparent. The best way for us to dig
into why is to open a support ticket at
https://support.globus.org/hc/en-us/requests/new

Mike
Reply all
Reply to author
Forward
0 new messages