Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hannesm
Copy link
Member

@hannesm hannesm commented Feb 21, 2023

This changes the API of Client.make (now receives a variant Password of string | Pubkey of key), and Awa_mirage.Make().client_of_flow as well.

This does not support the keyboard-interactive authentication mechanism (RFC 4256) that is commonly used (with e.g. PAM), but only the password authentication. May be useful for feature parity between server and client, and for some network devices.

hannesm added 5 commits March 20, 2023 13:31
This changes the API of Client.make (now receives a variant
`Password of string | `Pubkey of key), and Awa_mirage.Make().client_of_flow as
well.

This does not support the keyboard-interactive authentication mechanism
(RFC 4256) that is commonly used (with e.g. PAM), but only the password
authentication. May be useful for feature parity between server and client, and
for some network devices.
@hannesm hannesm force-pushed the client-password-auth branch from c7bb2d6 to f148000 Compare March 21, 2023 17:08
@hannesm
Copy link
Member Author

hannesm commented Mar 21, 2023

this has been revised and is ready for review.

What it does:

  • add password authentication to the ssh client
  • add keyboard-interactive authentication to the ssh client
  • remove hostbased authentication mechanism (this doesn't remove any functionality since it was only partially implemented)
  • add ECDH with NIST curves (p256, p384, p521)

@hannesm hannesm merged commit b782fd2 into mirage:main Mar 22, 2023
@hannesm hannesm deleted the client-password-auth branch March 22, 2023 13:37
hannesm added a commit to hannesm/opam-repository that referenced this pull request Mar 22, 2023
CHANGES:

* server: be able to stop using a Lwt_switch.t (mirage/awa-ssh#52 @dinosaure)
* server: add Pty/Set_env/Start_shell events (mirage/awa-ssh#53 @dinosaure)
* client: support password authentication and keyboard-interactive (mirage/awa-ssh#51
  @hannesm, reported by @dgjustice mirage/awa-ssh#31)
* client: add NIST EC curves (mirage/awa-ssh#31 @hannesm)
* client: try public key authenticaion only once (mirage/awa-ssh#50 @reynir @hannesm)
* remove (partially implemented) hostbased authentication (mirage/awa-ssh#31 @hannesm)
* replace deprecated Cstruct.copy by Cstruct.to_string (mirage/awa-ssh#53 @dinosaure)
* remove ppx_cstruct and sexplib dependencies (mirage/awa-ssh#54 @hannesm)
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.

2 participants