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

eapictl fails because of paramiko.ssh_exception.BadAuthenticationType #1

Open
advornic opened this issue Apr 14, 2015 · 5 comments
Open

Comments

@advornic
Copy link

$ eapictl status spine1
Traceback (most recent call last):
  File "/usr/local/bin/eapictl", line 9, in 
    load_entry_point('eapictl==0.1.0', 'console_scripts', 'eapictl')()
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 462, in main
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 139, in __init__
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 99, in connect_ssh
  File "build/bdist.macosx-10.10-intel/egg/paramiko/client.py", line 307, in connect
  File "build/bdist.macosx-10.10-intel/egg/paramiko/client.py", line 519, in _auth
paramiko.ssh_exception.BadAuthenticationType: ('Bad authentication type', [u'publickey', u'keyboard-interactive']) (allowed_types=[u'publickey', u'keyboard-interactive'])
@advornic
Copy link
Author

$ eapictl status spine1 --username admin --password admin
Traceback (most recent call last):
  File "/usr/local/bin/eapictl", line 9, in 
    load_entry_point('eapictl==0.1.0', 'console_scripts', 'eapictl')()
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 485, in main
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 203, in status
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 173, in send_enable
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 169, in sendall
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 162, in send
IOError: Socket timeout for host spine1

But this works:

$ ssh admin@spine1
Password: 
Last login: Tue Apr 14 18:06:55 2015 from 172.16.130.1
veos-dc1-pod1-spine1>

@sugetha24
Copy link

I am having the same issue as well. I could ping the switch and ssh into it. I have no password set.

@Josen15
Copy link

Josen15 commented Apr 26, 2017

@sugetha24 I ping the switch ,but it says the same issue .Can you help me ?

@jerearista
Copy link

@Josen15 are you also attempting to connect with no password? If so, can you try with a user that does have a password?

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

4 participants