<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <div>@Ben Finney</div> <div> </div> <div>I have downloaded paramiko-1.6 package, pcrypto 2.0.1 package</div> <div>platform: windows XP</div> <div> </div> <div>Now Iam trying to run the demo scripts available with paramiko package.</div> <div>I have tried using the same system for both cleint(demo_simple.py) and the server(demo_server.py) but it is failing at socket.connect()</div> <div> </div> <div>Can you please tell me ..what all i need to setup , to establish a conection between Client and server. </div> <div> </div> <div>The log of error , when I run demo_simple:</div> <div>==============================</div> <div>Hostname: 10.220.10.15:22<BR>hostnmae: 10.220.10.15 port: 22<BR>Username [KiranKumar_Kadarla]: aditya<BR>Warning: Problem with getpass. Passwords may be echoed.<BR>Password for <A
href="mailto:aditya@10.220.10.15">aditya@10.220.10.15</A>: <A href="mailto:hi@12345">hi@12345</A><BR>*** Unable to open host keys file<BR>hostname:10.220.10.15 port:22<BR>*** Caught exception: <class 'paramiko.AuthenticationException'>: Authentication failed.<BR>Traceback (most recent call last):<BR> File "C:\paramiko-1.6\paramiko-1.6\demos\demo_simple.py", line 85, in <module><BR> t.connect(username=username, password=password, hostkey=hostkey)<BR> File "C:\Python25\Lib\site-packages\paramiko\transport.py", line 851, in connect<BR> self.auth_password(username, password)<BR> File "C:\Python25\Lib\site-packages\paramiko\transport.py", line 1012, in auth_password<BR> return self.auth_handler.wait_for_response(my_event)<BR> File "C:\Python25\Lib\site-packages\paramiko\auth_handler.py", line 174, in wait_for_response<BR> raise e<BR>AuthenticationException: Authentication
failed.<BR>Traceback (most recent call last):<BR> File "C:\paramiko-1.6\paramiko-1.6\demos\demo_simple.py", line 102, in <module><BR> sys.exit(1)<BR>SystemExit: 1</div> <div> </div> <div> </div> <div><U>THANKS IN ADVANCE</U></div> <div><STRONG><EM>K. KIRAN KUMAR</EM></STRONG></div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> <BR><BR>kadarla kiran kumar <KADARLAKIRAN@YAHOO.COM>writes:<BR><BR>> I have to implement SFTP conection from client to the server using<BR>> Python script. Iam very new new to python , and i dont't have much<BR>> time to complete this. So I need some pointers from you.<BR><BR>You will probably want to investigate the "paramiko" package, a<BR>pure-Python implementation of the SSH2 protocol.<BR><BR><?XML:NAMESPACE PREFIX = URL /><URL:http: paramiko
www.lag.net></URL:http:><BR><BR><BR><BR></div></BLOCKQUOTE><p>
<hr size=1>The fish are biting.<br>
<a href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50"> Get more visitors</a> on your site using <a href="
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Yahoo! Search Marketing.</a>