473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

using SSh problem!


I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Would you please help me how should I start?
Is there any useful code?

--
View this message in context: http://www.nabble.com/using-SSh-prob...p19775680.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 2 '08 #1
7 1321
In message <ma**************************************@python.o rg>, sa6113
wrote:
I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Do you want to be able to connect without having to enter a password? You'll
need to set up a public/private key pair for that.
Oct 2 '08 #2

No, my problem isn't entering password or not ?
I want to know what should I do to connect between different platform and
copy a file .

Lawrence D'Oliveiro wrote:
>
In message <ma**************************************@python.o rg>, sa6113
wrote:
>I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.

Do you want to be able to connect without having to enter a password?
You'll
need to set up a public/private key pair for that.
--
http://mail.python.org/mailman/listinfo/python-list

--
View this message in context: http://www.nabble.com/using-SSh-prob...p19776775.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 2 '08 #3
sa6113 wrote:
No, my problem isn't entering password or not ?
I want to know what should I do to connect between different platform and
copy a file .
Did you try searching? This looks hopeful:

http://commandline.org.uk/python/200...8/sftp-python/

TJG
Oct 2 '08 #4
sa6113 wrote:
I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Would you please help me how should I start?
For starters, I'd take a look at 'scp'. Other than that, what does the
question you asked have to do with Python?

Uli

--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

Oct 2 '08 #5

One of the Python implementations of SSH is called Paramiko.
Ulrich Eckhardt wrote:

sa6113 wrote:
>I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Would you please help me how should I start?
For starters, I'd take a look at 'scp'. Other than that, what does the
question you asked have to do with Python?

Uli

--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

--
http://mail.python.org/mailman/listinfo/python-list
--
View this message in context: http://www.nabble.com/using-SSh-prob...p19777590.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 2 '08 #6
On Oct 2, 3:27*am, sa6113 <s.payan...@gmail.comwrote:
No, my problem isn't entering password or not ?
I want to know what should I do to connect between different platform and
copy a file .

Lawrence D'Oliveiro wrote:
In message <mailman.1881.1222937896.3487.python-l...@python.org>, sa6113
wrote:
I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Do you want to be able to connect without having to enter a password?
You'll
need to set up a public/private key pair for that.
--
http://mail.python.org/mailman/listinfo/python-list

--
View this message in context:http://www.nabble.com/using-SSh-prob...p19776775.html
Sent from the Python - python-list mailing list archive at Nabble.com.
I do it by wrapping "plink".

http://www.chiark.greenend.org.uk/~sgtatham/putty/

I believe you can also install a version of OpenSSH on Windows.

~Sean
Oct 2 '08 #7
sa6113 wrote:
I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Would you please help me how should I start?
Is there any useful code?
I find that one of the easiest ways of doing this is to install Cygwin on the
windows machine, then you have all the Linux capabilities under Windows. Open
Cygwin console and you can use ssh, scp, etc. to connect to Linux box, copy a
file, etc. All with ssh security.

-Larry
Oct 3 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jon Dellaria | last post by:
I have been using MySql as the database using JSP's and JavaBeans but recently I have wanted to start using the database connection pooling mechanism built into TomCat. I think I am having a...
13
by: Squid Seven | last post by:
This is just bizarre. for the following snippet of code: #include <string> using std::string; I get the error message:
4
by: John Morgan | last post by:
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
12
by: bj7lewis | last post by:
I am working on a project I want to add a few files as resource to access(copy them to FS and use) at runtime. So far in VS.NET IDE, I Add Files to the project and set its Build Action to...
5
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling...
0
by: Metal2You | last post by:
I'm working on an ASP.NET 2.0 application in Visual Studio 2005 that accesses a Sybase database back end. We're using Sybase SQL Anywhere 9.0.2.3228. I have installed and registered the Sybase...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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...
0
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...

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.