469,888 Members | 1,267 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,888 developers. It's quick & easy.

"Authentication failed" error using paramiko

I am using this code to connect to a windows machine using paramiko, I have
installed sshd on the machine and it works properly:

sock.connect((hostname, port))
t = paramiko.Transport(sock)
event = threading.Event()
if not t.is_active():
print 'SSH negotiation failed.'
print "SSH negotiation sucessful"
t.auth_password(username=username, password=password,event=event)

if not t.is_authenticated():
print "Authentication failed"


SSH negotiation successful
Authentication failed

I uploaded log file I am sure about username and password on that machine.

What is the problem?

View this message in context: http://www.nabble.com/%22Authenticat...p20085687.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 21 '08 #1
0 1692

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by New MSSQL DBA | last post: by
4 posts views Thread by Clint | last post: by
2 posts views Thread by carl.reimann | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.