forked from paramiko/paramiko
-
Notifications
You must be signed in to change notification settings - Fork 4
forward.py chokes when reading hostkeys #1
Copy link
Copy link
Open
Description
python3 forward.py -p 4111 -r localhost:22 server
Traceback (most recent call last):
File "forward.py", line 180, in
main()
File "forward.py", line 159, in main
client.load_system_host_keys()
File "/usr/lib/python3/dist-packages/paramiko/client.py", line 151, in load_system_host_keys
self._system_host_keys.load(filename)
File "/usr/lib/python3/dist-packages/paramiko/hostkeys.py", line 159, in load
e = HostKeyEntry.from_line(line)
File "/usr/lib/python3/dist-packages/paramiko/hostkeys.py", line 69, in from_line
key = RSAKey(data=base64.decodebytes(key))
File "/usr/lib/python3.2/base64.py", line 360, in decodebytes
return binascii.a2b_base64(s)
binascii.Error: Incorrect padding
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels