Push branch using SFTP throught a firewall

Martin Pool mbp at canonical.com
Mon May 19 10:14:35 BST 2008


On Sat, May 17, 2008 at 1:23 AM, Eric Fesler <eric at audaxis.com> wrote:
> Hi,
>
> I'm using bzr 1.3.1 on Hardy Heron.
>
> I trying to push a branch using SFTP to a machine behind a firewall.
>
> On the firewall the port 522 is mapped to the port 22 of the target
> machine and I can make an ssh connection without any issues.
>
> When I try to push the branch using the following command:
> brz push --create-prefix sftp://user@host:522/<target path>
> The system asked me the password then I got the following error:
> bzr: ERROR: Unable to connect to SSH host <hostname>:522; EOF during
> negotiation
>
> I tried the same thing from a windows machine using bzr 1.4 and it works
> properly.
>
> Could it be due to Paramiko?

On Hardy you probably have openssh installed and so we're using that
to connect rather than Paramiko directly.  If you look in ~/.bzr.log
it should say.

Can you try just

  ssh -p 522 hostname bzr --version

and see if that works

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list