-
-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why Medis can not use a default SSH key in SSH tunnel #8
Comments
That's definitely a good idea! |
Yep, please add! Next to that I find it impossible to browse to ~/.ssh/id_rsa from the finder window medis shows when you click on the key symbol, as hidden folders are not shown. You might want to default to ~/.ssh when clicking on the key symbol... Had to create a symbolic link |
There are two ways to browse to ~/.ssh/id_rsa in the finder window before medis's supporting the default ssh key path:
|
@luin i did just that and was able to select the file however SSH Error: Cannot parse privateKey: Unsupported key format note am using ssh-ed25519 for keys |
Did you select a public key or a private key? On Sun, Oct 30, 2016 at 4:13 AM +0800, "Muah" [email protected] wrote: @luin i did just that and was able to select the file however SSH Error: Cannot parse privateKey: Unsupported key format — |
both gives error |
@luin any news ? |
@ctf0 Sorry for the late response. Could you please generate a new private key in the same format and post it here so I can debug locally? |
just follow this steps to create an Ed25519 key https://blog.g3rt.nl/upgrade-your-ssh-keys.html |
@ctf0 It turns out ed25519 hasn't been supported by the upstream modules: mscdex/ssh2#352. I'm going to support ECDSA format first and would like to look into the support for Ed25519 key. |
can u give any time frame for that ? |
SSH Tunnel feature is basically unusable... I get |
@pehbehbeh Are you using private keys or public keys? Private keys are required for SSH Tunnel. |
I used private keys and tried rsa and ed25519. |
@pehbehbeh My apologies. Ed25519 hasn't been supported yet as mentioned above. |
I also get the error with "standard" RSA key.
|
How do you generate a working key? Maybe I can test that on my machine. |
That's how I always generate SSH keys. Does not work for me... 😐 |
@pehbehbeh Could you send me a private key you generated so I can test it. |
@luin After upgrading to Mojave, I'm not experiencing the same problems as everyone else here. I cannot get any SSH key to work. I generated the SSH key using the GitHub link that you provided and that still won't work. Any ideas? |
OK so I was able to solve this. From my (limited) understanding, Mojave uses a different SSH key format by default (RFC4716) but you have to use the PEM type for it to work with Medis. To generate a new key with this, run: Or to convert an existing key, run: Hope this helps! |
Medis 2 already supports providing an SSH config file: https://docs.getmedis.com/settings/custom-ssh-config so closing. Free free to create a new issue if there are anything else we can improve! |
I have a default key file in ~/.ssh/id_rsa, must set the key in Medis.
How about try the default SSH key, is that a good idea?
The text was updated successfully, but these errors were encountered: