![]() |
Data transfer from one Linux machine to another with FTP or scp
Hello everybody,
I am an absolute newbie trying to solve an annoying problem. I have a win 2000 laptop that crashed a couple of days ago before I could save some important data. I imagined two scenarios to recover my data: Scenario 1- Boot the laptop with Knoppix and burn the data on CD-R. Booting with Knoppix works fine and I can see my hda1 on the desktop but I don't know how to get the data to CD-R. BTW, my CD burner is a Micro Solutions parallel port Backpack. 2- Transfer the data via FTP or using scp to another Linux machine and find a way to burn it on CD-R from there. I had an old unused 400 MHz desktop and I installed Mandrake 9.0 on it. I connected the two machines (the laptop under Knoppix and the desktop under Mandrake 9.0) via an Ethernet crossover cable and set the IP addresses, the netmask and the gateway address. I can ping between the two machines but when I try to use an FTP command or the scp command I get the message "connection refused". Here is a sample of the scp command I tried from the laptop, in the directory where the *.doc files reside: scp *.doc 192.168.0.3:/home/emmanuel 192.168.0.3 is the address of the destination machine and /home/emmanuel the destination directory Error message: ssh: connect to address 192.168.0.3 port 22: connection refused I suspect I am missing some kind of authentification between the machines. Any help with one of theses scenarios will be greatly appreciated. Thanks in advance. Emmanuel |
Welcome to LQ.
Do you have any firewall rules set on linux? If so then try removing them then the copy again: iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -F |
Thanks for your help, David.
I tried theses commands on both machines and the transfer stills does not work. I'll keep searching. Thanks again. Emmanuel |
Check to make sure a ftp server is running.
|
Or sshd in the case of using scp.
|
Hi David and Michael,
Sorry for this long pause but it was for a good cause. First, I did not know I had to have an FTP server or sshd running. Taking heed to both your posts, I ran out and bought "Linux Administration, A Beginner's guide". No particular preference here, only the word "Beginner" and a quick browse in the TOC guided my choice. After reading these chapters and installing ProFTPD, I could do my transfers. I learnt a few things in the process, above all how friendly and helpful the Linux community is, and last, but not least, that from now on I will commit my important files only to a Linux machine properly set up. Thanks again. Emmanuel |
Good to see you got everything working as you wanted.
|
All times are GMT -5. The time now is 07:04 AM. |