Martin, bzr can't work properly with plink without -batch. So it won't be a fix, it will be regression.
-batch fixed following problem.
This flag was added because when plink encounter new site it does know about yet, plink asking the user not directly via terminal API (as ssh does), but instead uses stdout. And this breaks bzr because bzr tries to use this prompt as real answer for the remote server.
There is no sane way to workaround this. User should manually connect first time to the server with `plink user@host`, allow adding server credentials to internal database of putty/plink. And only after this manual step, bzr can use plink.
Many people have problem with setup plink+bzr. I'm always recommend to use paramiko only. And this always works.
I guess in the past I've forced paramiko to be default, and using plink only if it's configured in BZR_SSH env variable. May be someone revert this change. I'd say it's wrong. paramiko should be default to avoid all tis dance with server key (paramiko simply add new key and go on).
This question really should be in the FAQ or better in the doc.
Martin, bzr can't work properly with plink without -batch. So it won't be a fix, it will be regression.
-batch fixed following problem.
This flag was added because when plink encounter new site it does know about yet, plink asking the user not directly via terminal API (as ssh does), but instead uses stdout. And this breaks bzr because bzr tries to use this prompt as real answer for the remote server.
There is no sane way to workaround this. User should manually connect first time to the server with `plink user@host`, allow adding server credentials to internal database of putty/plink. And only after this manual step, bzr can use plink.
Many people have problem with setup plink+bzr. I'm always recommend to use paramiko only. And this always works.
I guess in the past I've forced paramiko to be default, and using plink only if it's configured in BZR_SSH env variable. May be someone revert this change. I'd say it's wrong. paramiko should be default to avoid all tis dance with server key (paramiko simply add new key and go on).
This question really should be in the FAQ or better in the doc.