Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created December 4, 2014 18:01
Show Gist options
  • Save nelsnelson/a358ce6945bbacb000d8 to your computer and use it in GitHub Desktop.
Save nelsnelson/a358ce6945bbacb000d8 to your computer and use it in GitHub Desktop.
paramiko failures
2014-12-04 09:48:35,667 INFO [SSH] Connecting to [email protected]:22 with keyfile ./id_rsa
2014-12-04 09:48:50,746 ERROR [paramiko.transport] Exception: Error reading SSH protocol banner
2014-12-04 09:48:50,751 ERROR [paramiko.transport] Traceback (most recent call last):
2014-12-04 09:48:50,752 ERROR [paramiko.transport] File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 1412, in run
2014-12-04 09:48:50,752 ERROR [paramiko.transport] self._check_banner()
2014-12-04 09:48:50,753 ERROR [paramiko.transport] File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 1539, in _check_banner
2014-12-04 09:48:50,754 ERROR [paramiko.transport] raise SSHException('Error reading SSH protocol banner' + str(e))
2014-12-04 09:48:50,755 ERROR [paramiko.transport] SSHException: Error reading SSH protocol banner
2014-12-04 09:48:50,756 ERROR [paramiko.transport]
2014-12-04 09:48:50,759 ERROR [SSH] Remote execution error: Error reading SSH protocol banner
Traceback (most recent call last):
File "./stack.py", line 251, in <module>
main()
File "./stack.py", line 244, in main
config_stack_vm(server)
File "./stack.py", line 72, in config_stack_vm
remote(server, command='cp $HOME/.ssh/authorized_keys $HOME/.ssh/id_rsa.pub')
File "./stack.py", line 186, in remote
result = ssh.remote_exec(target, user=user, keyfile=private_key, command=command)
File "/home/nels.nelson/src/containers-devstack-tempest/ssh.py", line 135, in remote_exec
raise ex
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment