Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply

Python - which program I need for sftp using paramiko??

 
Thread Tools Search this Thread
Old 10-22-2008, 11:29 AM   #1
sa6113
 
Posts: n/a
Default which program I need for sftp using paramiko??


which program I have to install for using paramiko for sftp between a two
windows machine in local network??
I have installed freeSSHd for server machine but I got an Authentication
failed erro when try to connect to server using this code :


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

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

output:

SSH negotiation successful
Authentication failed


May I install any program on client computer such as openssh ?
please help me.
Thanks

--
View this message in context: http://www.nabble.com/which-program-...p20108822.html
Sent from the Python - python-list mailing list archive at Nabble.com.

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Microsoft Windows 7 Upgrade Program Ian Front Page News 0 02-10-2009 04:21 PM
This is incredible! jc_ice DVD Video 1 08-13-2006 09:47 AM
Get Rich Daun Johnson A+ Certification 0 01-31-2006 02:11 PM
Been around for a while but very effective Paul A+ Certification 0 02-29-2004 11:14 AM
Re: free email addresses finding program (files included) Leonardo A+ Certification 1 12-05-2003 02:51 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47