bzr should not pass -oProtocol=2 to openssh

Bug #561061 reported by Jason R. Coombs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Neil Martinsen-Burrell

Bug Description

I was trying to use bzr 2.0.2 on Ubuntu Karmic Koala when I found I couldn't push to my repository on launchpad.

See https://answers.edge.launchpad.net/launchpad-code/+question/107036 for details.

Apparently, bzr recognizes 'id_dsa' as a valid private key name, but not 'identity'. OpenSSH recognizes identity; bzr probably should too.

Tags: easy hpss sftp ssh

Related branches

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 561061] [NEW] SSH doesn't recognize 'identity' as a private key

Lets finish this on that open question; if its a bug we'll convert it at
the point that becomes clear.

 status invalid

Changed in bzr:
status: New → Invalid
Revision history for this message
Martin Pool (mbp) wrote :

As discussed in https://answers.edge.launchpad.net/launchpad-code/+question/107036 we are forcing protocol 2, even though that seems to be the default in current ssh. I don't see why passing that parameter is useful.

summary: - SSH doesn't recognize 'identity' as a private key
+ bzr should not pass -oProtocol=2 to openssh
tags: added: easy hpss sftp ssh
Changed in bzr:
importance: Undecided → Medium
status: Invalid → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :
Revision history for this message
Andrew Bennetts (spiv) wrote :

I'm not sure why it forces protocol 2 either. Maybe SSH 1 doesn't support the SFTP subsystem? Even so think leaving the choice of protocol version to /usr/bin/ssh is fine, so I agree: let's stop passing -oProtocol=2.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 561061] Re: bzr should not pass -oProtocol=2 to openssh

On Mon, 2010-04-12 at 05:22 +0000, Andrew Bennetts wrote:
> I'm not sure why it forces protocol 2 either. Maybe SSH 1 doesn't
> support the SFTP subsystem? Even so think leaving the choice of
> protocol version to /usr/bin/ssh is fine, so I agree: let's stop passing
> -oProtocol=2.

JamesH wrote this code - James, do you remember why you forced protocol
for openssh in bzr?

-Rob

Martin Pool (mbp)
Changed in bzr:
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → Neil Martinsen-Burrell (nmb)
status: In Progress → Fix Released
milestone: none → 2.3b2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.