Skip to content
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

SSH auth with password? #204

Open
kaplan-michael opened this issue May 14, 2024 · 4 comments
Open

SSH auth with password? #204

kaplan-michael opened this issue May 14, 2024 · 4 comments

Comments

@kaplan-michael
Copy link

kaplan-michael commented May 14, 2024

Hello, I was wondering if there are plans to support ssh/& openssh connections with password(without keys)

Is it intentionally not supported?
I suppose I can build my own AuthMethod to patch that in, but it would be nice to have it in the core config.

edit: without keys(missed that)

@james-nesbitt
Copy link
Contributor

I believe that you have two options:

  1. use ssh-agent with the key added
  2. use your own AuthMethod as you suggested.

@kke
Copy link
Contributor

kke commented May 15, 2024

I think this is something that should not be done, ssh has already solved this with ssh-agent.

@kaplan-michael
Copy link
Author

I probably badly worded it there. I meant without keys(eg. if the only option to connect is with passwords) I suppose I'll setttle on the AuthMethod. Thanks

@kaplan-michael
Copy link
Author

I do wonder if I'm able to do something similar to an auth method with the openssh?
AFAIK ssh-agent can't deal with password only auth(and for various reasons, keys might not always be an option)

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

No branches or pull requests

3 participants