LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-02-2004, 10:00 PM   #1
treotan
Member
 
Registered: Jun 2004
Posts: 126

Rep: Reputation: 15
how to remote download file by putty SSH?


I locating a office, and want to download the file by my home machine; I using putty SSH, what is the command it can be download file through SSH?

Thks
 
Old 08-02-2004, 10:03 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
there's a pscp.exe available on Putty website if you havent downloaded the full package, you can use it just like scp.
 
Old 08-02-2004, 10:09 PM   #3
treotan
Member
 
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
I typed scp, it shown the parameter; but I don't know how to use it!
Could you brief me how to use this command?

scp ....
 
Old 08-02-2004, 10:32 PM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Its the same as cp except that when you want to specify a remote host you use user@host:/path/to/file (host has to be running sshd, can either be an ip address or hostname/fqdn)
For example if you want to download the file /home/user/myfile from a remote machine you'd use
Code:
pscp user@host:/home/user/myfile .
 
Old 08-02-2004, 10:42 PM   #5
treotan
Member
 
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
for example i want download the postgresql for my home machine! How to revise as following command:

scp root@ftp://ftp8.us.postgresql.org/postgre....3/postgresal-
7.4.3.tar.gz
 
Old 08-02-2004, 10:47 PM   #6
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Oh, in that case ssh into your machine then execute something like:
 
  


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scp/ssh tail(multiple file) remote copy tpreitano Linux - General 1 08-22-2005 02:17 PM
Problem with remote terminal (ssh and PuTTY) guardian653 *BSD 11 02-09-2005 06:16 AM
Getting a remote file using SSH Tekime Linux - Networking 5 11-15-2004 08:32 AM
Putty SSH remote desktop Solved learner_driver Linux - Networking 1 07-05-2004 03:02 PM
Ssh , Download File linuxsoundprob Linux - Software 15 08-26-2003 03:03 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration