Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.