ssh woes on windows
John Arbash Meinel
john at arbash-meinel.com
Sat Jun 28 05:09:54 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark Hammond wrote:
| Looking at this a little more:
|
|> I thought at one point we disabled plink from being autodetected
|> because we can't pass it a password. Was the previous autodetect behavior
|> restored?
|>
|> Put another way, we disabled plink unless people explicitly requested
|> it, in favor of always using paramiko (since it can talk to pageant
|> anyway). I don't know why this would have changed.
|
| get_vendor() in ssh.py first checks the environment, then it does the
_get_vendor_by_inspection() thing, and if that fails, it falls back to
_default_ssh_vendor, which is paramiko.
|
| _get_vendor_by_inspection() searches for ssh.exe and plink.exe on the
path. It seems to me that it makes sense for _get_vendor_by_inspection()
to come *last* - only if there is no paramiko available should we
fallback to searching. Something like:
|
Paramiko should generally be present, because we need it for sftp handling.
I personally prefer to use 'ssh' if it is available, because I already
have ssh-agent, and a real ssh key, etc.
I would be fine with having an ssh check first, and a plink check last,
or removing plink in general.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhluZEACgkQJdeBCYSNAANTZwCglSgjHy38JNdpsuK2snWxW6XO
t7sAnAtlyHvTiL7joBfcgIHng0TS0xlM
=MLJy
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list