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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Just to further that, I remembering having a rough time figuring out how to use scp at first. The man should explain it pretty well, but even then, it can seem a little geek-speak-ish, try wading through it, but here's an example of copying a file from inside a lan with private ip's 192.168.1.50 and 192.168.1.25 and I'm copying a file from the computer I'm on that has the IP 192.168.1.25:
scp 192.168.1.25:/home/files/file.avi 192.168.1.50:/home/files/file.avi
Which if you pull out all the 'gugu' then you can actually see the cp command:
cp /home/files/file.avi /home/files/file.avi
Obviously that wouldn't work because it's the same box, however, it does of course using scp because of the 2 different boxes.
This is cool! I didn't know a file transfer could be so easy. Is there a limitation to the size? For instance, I just loaded up another PC here with Linux and I want to move all my data over to it. Would I be able to tar the profile data that I want and move it across using SSH? Potentially some of the file (email) could be over 100MB...
i noticed that too early on.. it seemed to go away after i disabled RSA authentication in sshd settings.. apparently when using RSA you have to send along a seed with a password.. or something.. i don't fully understand it.. some sort of security function.. something to do with 'key' files too
Thanks, I'll check that out. I was able to get it work finally by using sftp which was much easier (for me) and achieved the same results. Still - this is a feature that I hadn't considered that I could do with Linux - I'm very impressed!
Originally posted by silmaril8n This is cool! I didn't know a file transfer could be so easy. Is there a limitation to the size? For instance, I just loaded up another PC here with Linux and I want to move all my data over to it. Would I be able to tar the profile data that I want and move it across using SSH? Potentially some of the file (email) could be over 100MB...
AFAIK there is no limit on single file size wrt to ssh or scp (which IIRC is simply cp wrapped up in ssh). Your file system would be the only thing puting a damper on your fun, but 100MB shouldn't be a problem with that. You really wouldn't even have to tar the profile data, you could simply copy it over recursively using the -a or similar switch...
I just completed a "scp -rpv" file copy and it skipped over the hidden files. Since this is for a user transfer to a newly built linux box, I need all of the files transferred, including hidden. I didn't see a switch to enable this in the man file. Does anyone know if it is possible to get these files, too?