Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forward.py chokes when reading hostkeys #1

Open
rfehren opened this issue Dec 1, 2011 · 0 comments
Open

forward.py chokes when reading hostkeys #1

rfehren opened this issue Dec 1, 2011 · 0 comments

Comments

@rfehren
Copy link

rfehren commented Dec 1, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant