Il Tue, 06 Oct 2009 12:26:34 -0800, Joshua Kugler ha scritto:
David wrote:
transport.connect(username = username, pkey = mykey)
I get a AuthenticationException: Authentication failed. exception.
My ~/.ssh/id_rsa is correct because if, at console, I type
bags...@bagvapp:~$ sftp
I am trying to get a login using rsa_key with python.
I have successfully installed paramiko and followed this tutorial:
http://commandline.org.uk/python/sftp-python/
If I use the password
transport.connect(username = username, password = password)
I get a successful login but, I use the SSH
David wrote:
transport.connect(username = username, pkey = mykey)
I get a AuthenticationException: Authentication failed. exception.
My ~/.ssh/id_rsa is correct because if, at console, I type
bags...@bagvapp:~$ sftp bags...@192.168.92.129
Connecting to 192.168.92.129...
sftp
I get