LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-11-2004, 11:06 PM   #1
fbfd1338
LQ Newbie
 
Registered: Mar 2004
Location: Motor City, MI
Distribution: Redhat 7.3
Posts: 12

Rep: Reputation: 0
download via ssh?


Hi all I am new to the linux world and am loving it so far...I have many books and have been doing alot of reading, but there is a question I have that doesn't seem to be covered in the books (at least I cant find it). I have a linux box runnin Redhat 7.3 at a friends house I am experimenting with as a web/file server. I have been accessing it from home via SSH with Putty. My question is, is it possible to remotely access my server from my home pc, and download files to the server from a website or remote location? If that is not possible is there a way I can download the files to my pc and transfer them to the server via the SSH or even a FTP connection? Any help, suggestionsl, or fingers pointed in a general direction for me to look would be highly appreciated. Thanks alot.

-Kevin
 
Old 03-11-2004, 11:26 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you are able to SSH in, you can use a console based file trasnfer utility such as wget, or use a console based webbrowser such as links which includes a functional download manager.
If you would like to transfer files from your home pc to remote server, yeah you can setup an ftp, though in fact ssh already provide file transfer capability.
You can use scp to transfer files directly or sftp, which IIRC is enabled by default in most distros.
For scp you can use the pscp.exe tool that comes with Putty, the syntax goes something like this (you need to use it on a command prompt):

pscp <source> <destination>

source and destination can be both a remote location or local, for remote you use user@remotehost:/path/to/file

So for example if I want to transfer a file called c:\myfile.doc to /home/user1 on the remote server 10.0.0.1 , I can do

pscp c:\myfile.doc user1@10.0.0.1:/home/user1

For sftp there's psftp.exe, the usage is pretty much the same as a standard command line ftp client

Last edited by Demonbane; 03-11-2004 at 11:29 PM.
 
Old 03-11-2004, 11:43 PM   #3
PolyPerception
LQ Newbie
 
Registered: Feb 2004
Location: Fort Worth, Texas
Distribution: Slackware-9.1
Posts: 29

Rep: Reputation: 15
Here are a few popular FTP daemons if you prefer not to use the ssh transfer capibility.

PureFTPd
http://pureftpd.org

ProFTPd
http://proftpd.org

WuFTPd
http://www.wu-ftpd.org
 
Old 03-14-2004, 07:40 PM   #4
mix_master_mike
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
This article: http://www.vafrous.com/articles?request=2 goes over the basics of SCP (secure copy) use (over SSH server).
 
  


Reply



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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Fast Download Site for Linux, enables >4GB Download of single file TigerLinux Linux - Distributions 9 10-29-2005 12:45 PM
how to remote download file by putty SSH? treotan Linux - Newbie 5 08-02-2004 10:47 PM
where to download SSH and Lynx source files mitchb Linux - Newbie 1 06-23-2004 04:48 AM
Ssh , Download File linuxsoundprob Linux - Software 15 08-26-2003 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration