You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "matzrm (via GitHub)" <gi...@apache.org> on 2023/02/20 07:52:37 UTC
[GitHub] [mina-sshd] matzrm opened a new issue, #321: How to: create sshclient with a private key
matzrm opened a new issue, #321:
URL: https://github.com/apache/mina-sshd/issues/321
### Version
3.0.0 alpha
### Bug description
Please,
can you provide an example on how to connect a mina ssh client to a server through a private key authentication?
### Actual behavior
Can't create a client witth private key.
### Expected behavior
Also in the cli client, missing the option to load the private key.
### Relevant log output
_No response_
### Other information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
[GitHub] [mina-sshd] tomaswolf commented on issue #321: How to: create sshclient with a private key
Posted by "tomaswolf (via GitHub)" <gi...@apache.org>.
tomaswolf commented on issue #321:
URL: https://github.com/apache/mina-sshd/issues/321#issuecomment-1474984149
You can add a private key to the session, before authenticating. Or use a HostConfigEntry that specifies a key file.
The CLI program in sshd-cli is not a fully featured replacement for the openSSH client. But it's true that it doesn't have the "-i" command-line option.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
[GitHub] [mina-sshd] tomaswolf closed issue #321: How to: create sshclient with a private key
Posted by "tomaswolf (via GitHub)" <gi...@apache.org>.
tomaswolf closed issue #321: How to: create sshclient with a private key
URL: https://github.com/apache/mina-sshd/issues/321
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org