Here's the error that is logged
Hi Ryan,
have you tried using your key in Terminal.app using ssh? Does it work there?
cheers,
felix
This is the log entry i get:
Hi Ryan,
would you please be so kind and give the current V4 beta a try as new key formats are supported there?
You can get the beta here: https://www.royalapplications.com/ts/mac/features-beta
thx,
felix
seems to be the same ...
Hi Ryan,
okay, so does it work if you specify the path to the key file instead of embedding it into the document?
thx,
felix
No i am getting the same Invalid Format message
If you get this same log entry, then the key is still embedded or you're looking at the wrong credential/connection configuration.
In the case of a file reference (instead of embedded key files) no conversion is done from our side and the key is just passed to the ssh client.
Please send us screenshots of your SSH connection's credential configuration (both tabs) as well as the credential object itself (if any).
cheers,
felix
Here's the tabs. Are you wanting the key as well? I have been using one that is not used anywhere, so i can provide that as well.
Hi Ryan,
thx for the screenshots. I don't think I'll be needing the key file as that's likely not the actual problem.
Please send me screenshots of your connection's credential configuration as well. I'm pretty certain that you have an additional key file referenced there which is overruling the one from your credential.
cheers,
felix
did the other screenshots come through? I know i attached them. I can attach the connections one momentarily. This is the error with a path to the key:
Thx again for the screenshots.
Like previously mentioned, the problem here is that you specified two different private keys. One at the connection level and one at the credential level.
There's actually a note in the connection private key file configuration that reads: "If you have configured both, a private key file in your credential and a private key file at connection level, Royal TSX will use the private key file configuration from the connection".
That's exactly what's happening here. Since you have another private key file at connection level, that one overrules the one specified at credential level. And as can be seen in the last screenshot, that key file is of unsupported format.
If you want to use the key file that you specified at credential level (where you referenced a path instead of embedding the key file), please remove the embedded key file from the connection. (Click "Actions - Remove").
Hope that helps!
cheers,
felix
Ryan Hardester
in TSX 3.3.1 I load a RSA key into a credential (with or without passphrase. and i have tried one created on my mac, and on a linux machine). When i try and use that credential for a terminal session, I get "Load key "/Users/user/Library/Caches/com.lemonmojo.RoyalTSX.App/iTerm2Connection/TemporaryPrivateKey_3": invalid format"
Is that the correct way to handle that? Do i have some other thing going on?