ssh: let password override keys?

Robey Pointer robey at lag.net
Mon Oct 2 19:19:12 BST 2006


I found this message while trying to clear out my mailbox.  (Sorry it  
got lost for so long.)  I think he's suggesting that if a password is  
given in the sftp:// url, it should be tried before local .ssh/  
private keys are tried.

Sounds reasonable to me.  Does anyone have an objection?  If not,  
I'll submit a patch.

robey


Begin forwarded message:

> From: Mattias Eriksson <mattias.eriksson at ardendo.se>
> Date: 29 June 2006 8:19:39 PDT
> To: robey at lag.net
> Subject: bzr paramiko
>
> Hi,
>
> I was playing around using ssh and bzr and have a need to be albe to
> pass the password to bzr. I found out that paramiko had support for  
> this
> in the url, which suited me fine.
> The only problem I have now is that when I have a ssh key, but that is
> not valid for a specific host. Then I still have to enter that  
> password
> for the ssh key, the publik key auth fail and the real password is
> used.
> I suggest that if a password is present in the url, use that and  
> try not
> to use publik key auth.
>
> Then the use of publik key for authentication must be detectable since
> ordinary ssh only asks when the host is valid for publik key auth. It
> would be nice if it only asked for password for the pub key if I can
> authenticate with it.
>
> //Snaggen
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20061002/b56de158/attachment.htm 


More information about the bazaar mailing list