Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-02-2010, 10:25 AM   #1
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
copy several files between 2 linux boxes

hi, I have to linux boxes (ubuntu 10 and ubuntu 9), both are in the same network - i can do ping between them- so, I need to pass several files between them and i want to do it using the network, i went to nautilus and then smb:// but i couldn't connect.

my question is:
-how can I do this?
-do I have to do it using samba?

Old 08-02-2010, 10:29 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can use ftp,scp ...
Old 08-02-2010, 10:51 AM   #3
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
thanks, i'm trying using ftp, but when I tried to connect i get the error: "connection refused", I guess the port is closed, in fact, the target pc is running ubuntu from live cd -9.04- but I don't know how to open that port, or maybe is some other error, can you tell me how to debug this?
Old 08-02-2010, 12:52 PM   #4
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
The Ubuntu livecd might (I'd say, probably) not have ftp and/or ssh servers installed/running, which you'll need in order to connect to it.

If you have an ssh server installed in either machine, use scp or rsync. If not, install.

Edit: obviously samba shares would require you to have Samba file server installed and fired up.

Last edited by b0uncer; 08-02-2010 at 12:53 PM.
Old 08-02-2010, 01:45 PM   #5
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
You don't need samba when moving files between linux boxes.

Samba is for windows networks.

This is really easy, just two steps, because ftp should already be installed (if not, just install it, same procedure as for ssh):

1] Install ssh on both boxes like this
sudo apt-get install ssh
2] In nautilus (your file manager) enter sftp://username@IP.OF.OTHER.BOX
Enter the password (for the user on the other box)

Drag & drop files between the machines


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
Moving files between Linux boxes Yig Linux - Newbie 8 11-21-2007 07:16 PM
sharing network files between Linux boxes linuxhippy Slackware 23 04-22-2005 08:03 PM
what's the best way to swap files between directly connected linux and windows boxes? Lechium Linux - Networking 1 08-01-2004 02:47 PM
Backing up files on Windows boxes to Linux thosm Linux - Software 1 04-08-2004 07:36 PM
how to share linux files on LAN btwn other linux boxes shakeeb Linux - Networking 9 02-04-2004 03:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 AM.

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