Skip to content

Conversation

@axelson
Copy link

@axelson axelson commented Jan 2, 2023

Fixes #23

  • Adds list of supported key types, some of which work with a passphrase and some which do not
  • Update readme to open known_hosts with read/write
  • Switch away from deprecated functions

I've tested this with the following key types from ssh-keygen:

  • rsa
  • ed25519
  • ecdsa

I haven't had a successful test with dsa because I wasn't able to get a dsa key to work with my ssh server

My known_hosts file was continually filling up
@pcriv
Copy link

pcriv commented Dec 20, 2023

Hi @axelson are you planning to continue with the upgrade? or do you know of any workarounds for this?

@axelson
Copy link
Author

axelson commented Dec 21, 2023

If I recall correctly this was enough to get it working with Erlang/OTP 25

@axelson
Copy link
Author

axelson commented Aug 14, 2024

Hi, is anyone able to take a look at this?

@tmjoen
Copy link

tmjoen commented Sep 15, 2024

Would be great to get this merged!

@ck-work00
Copy link

ck-work00 commented Dec 16, 2024

@axelson Hello again!

I just found this PR and it helped get us unstuck on a related problem! (using :ssh and reading the ssh key from an env var / app config. )

Specifically we were trying to do 2 things with the erlang :ssh module:
Make a connection and pass in the ssh key from something other than a file on disk
And then with an open connection, bind the connection to a local port (i.e. setup a ssh tunnel)

Thank you (from the future)!

Example (working) code in gist
https://gist.github.com/ckoch-cars/15a88fcb0bc2f4abbed09b49879edf31

@sesamzoo
Copy link

Hello @ck-work00,

I'd be interested in that code but get a 404:

Example (working) code in gist https://gist.github.com/ckoch-cars/15a88fcb0bc2f4abbed09b49879edf31

Could you share it again, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken on Erlang/OTP 25

5 participants