dest service use .bashrc to change python version ,open sftp error
Bug #1012694 reported by
esbatmop@gmail.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko |
New
|
Undecided
|
Unassigned |
Bug Description
when the remote PC use ~/.bashrc to change python version
s.open_sftp() while report a error:
SFTPError: Garbage packet received
remote PC ~/.bashrc like this:
$source ~/.pythonbrew/
$pythonbrew use 2.6.7
code like this:
s = paramiko.
s.load_
s.set_missing_
s.connect(ip, port, username, password)
s.open_sftp() # get error at here
if I made remote PC ~/.bashrc like this:
#source ~/.pythonbrew/
#pythonbrew use 2.6.7
then no error
To post a comment you must log in.