By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,084 Members | 1,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,084 IT Pros & Developers. It's quick & easy.

using SSh problem!

P: n/a

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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.