bzr can't work sftp or ssh with the paramiko
Bug #239709 reported by
RedSun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when I use bzr ver1.5 with paramiko 1.7.3 , I can't use sftp and ssh protocols.
1:
I use it localhost,it's not work.
2:
I use it from another box , also it not work.
finally:
I use the paramiko 1.6.1, haha, It works!
when I use sftp it report 'Gabage packet recive'.
when I use bzr+ssh it report None,just exit.
To post a comment you must log in.
I have a similar issue (paramiko 1.7.2) when trying to open_sftp( )
SSHClient.
if the .bashrc is printing something.
You should be able to reproduce the bug if you add
echo "hello there"
in your .bashrc
Here comes the stack trace: open_sftp( ) python2. 5/site- packages/ paramiko/ client. py", line 350, in open_sftp .open_sftp_ client( ) python2. 5/site- packages/ paramiko/ transport. py", line 769, in open_sftp_client from_transport( self) python2. 5/site- packages/ paramiko/ sftp_client. py", line 106, in from_transport python2. 5/site- packages/ paramiko/ sftp_client. py", line 87, in __init__ version( ) python2. 5/site- packages/ paramiko/ sftp.py" , line 108, in _send_version python2. 5/site- packages/ paramiko/ sftp.py" , line 183, in _read_packet
self.SFTPClient = self.SSHClient.
File "/usr/lib/
return self._transport
File "/usr/lib/
return SFTPClient.
File "/usr/lib/
return cls(chan)
File "/usr/lib/
server_version = self._send_
File "/usr/lib/
t, data = self._read_packet()
File "/usr/lib/
raise SFTPError('Garbage packet received')
SFTPError: Garbage packet received