[paramiko] Implementation of SFTP (secure FTP)
kadarla kiran kumar
kadarlakiran at yahoo.com
Mon Mar 5 21:53:56 PST 2007
Hi all,
Iam new to python. From google , I found that paramiko package supports SSh and SFTP kind of stuff.
I have installed Python2.5, paramiko 1.6, pcrypto 2.0.1 packages on my windows XP machine.I found some demo scripts along with paramiko package. Iam running demo_simple(as client) and demo_server (as server) on the same system.
If anybody has implemented this earlier please guide me. If you dont think Iam overambitious, if possible ,please send me those python scripts.
The log of errors , when I run demo_simple:
==============================
Hostname: 10.220.10.15:22
hostnmae: 10.220.10.15 port: 22
Username [KiranKumar_Kadarla]: aditya
Warning: Problem with getpass. Passwords may be echoed.
Password for aditya at 10.220.10.15: hi at 12345
*** Unable to open host keys file
hostname:10.220.10.15 port:22
*** Caught exception: <class 'paramiko.AuthenticationException'>: Authentication failed.
Traceback (most recent call last):
File "C:\paramiko-1.6\paramiko-1.6\demos\demo_simple.py", line 85, in <module>
t.connect(username=username, password=password, hostkey=hostkey)
File "C:\Python25\Lib\site-packages\paramiko\transport.py", line 851, in connect
self.auth_password(username, password)
File "C:\Python25\Lib\site-packages\paramiko\transport.py", line 1012, in auth_password
return self.auth_handler.wait_for_response(my_event)
File "C:\Python25\Lib\site-packages\paramiko\auth_handler.py", line 174, in wait_for_response
raise e
AuthenticationException: Authentication failed.
Traceback (most recent call last):
File "C:\paramiko-1.6\paramiko-1.6\demos\demo_simple.py", line 102, in <module>
sys.exit(1)
SystemExit: 1
THANKS IN ADVANCE
K. KIRAN KUMAR
Infosys Technologies Limited.
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.lag.net/pipermail/paramiko/attachments/20070305/32d9225e/attachment.htm
More information about the paramiko
mailing list