473,508 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1807
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
2534
by: Erwin Moller | last post by:
Hi group, Just curious what IDEs are popular nowadays. What do you expect from an IDE? Debugging? Do you use your IDE for debugging, or do you work like me? (Just use some smart-placed...
0
4651
by: Bernhard Günther | last post by:
Hello friends of php, PhP-Version is 4 on a FreeBSD-System using apache. Got a problem using ssh2.sftp. Installed correctly (libssh2, ssh2.so-module). Connecting with publickey works,...
7
15356
by: RadhakrishnanR | last post by:
How i can implement SFTP in VB. Scenario is I want to take file from SFTP server, then after some process with the file , file will be moved to database.. Our requirement is very clear that how...
2
2322
by: Sobharaj | last post by:
Hi, How to copy a file from one server(With OS - Solaris) to other server using sFTP script. I have FTP scripts for that.Will there be any changes between sFTP and FTP scripts.If there is any...
12
15639
by: jcor | last post by:
Hi, I'm using Ubuntu 7.04. I'm writing a sript that sends files via ftp for several destinations. So far I used Net::FTP and it worked fine. My problem is that I need to send files via SFTP...
4
4684
by: sa6113 | last post by:
I want to use sftp from paramiko to copy a file from a windows machine to a Linux in the network, I use this code : host = "LinuxComputerName" (or its Ip) port = 22 transport =...
14
2424
by: doublemaster007 | last post by:
Hi.. I am developing commandline tools for LInux.Currently i am using source insight IDE in Windows for development. Later i FTP the source to LINUX and build by make file. Can any one...
0
1499
by: sa6113 | last post by:
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...
2
3809
by: sivashanmugam | last post by:
Hi Friends, I tried to send some zips from local to remote location but the transfer is not sucess i can transfer the zips partially can some one assist me how to make it as sucess i had...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.