rig icon indicating copy to clipboard operation
rig copied to clipboard

SSH auth with password?

Open kaplan-michael opened this issue 1 year ago • 4 comments

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)

kaplan-michael avatar May 14 '24 21:05 kaplan-michael

I believe that you have two options:

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

james-nesbitt avatar May 15 '24 07:05 james-nesbitt

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

kke avatar May 15 '24 07:05 kke

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 avatar May 15 '24 14:05 kaplan-michael

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)

kaplan-michael avatar May 17 '24 12:05 kaplan-michael