468,545 Members | 1,718 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

which program I need for sftp using pramiko??


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-...p20108796.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 22 '08 #1
1 1618
sa6113 wrote:
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
Is security really that important between two machines on the same LAN?
If it really is that important, just use scp between the two machines.
You don't really have to reinvent the wheel to copy files between to machines.

-Larry
Oct 23 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

30 posts views Thread by Erwin Moller | last post: by
reply views Thread by Bernhard GŁnther | last post: by
2 posts views Thread by Sobharaj | last post: by
4 posts views Thread by sa6113 | last post: by
14 posts views Thread by doublemaster007 | last post: by
reply views Thread by sa6113 | last post: by
2 posts views Thread by sivashanmugam | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.