LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-02-2010, 10:25 AM   #1
htamayo
Member
 
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://192.168.0.1 but i couldn't connect.

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


regards
 
Old 08-02-2010, 10:29 AM   #2
repo
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
htamayo
Member
 
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
b0uncer
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
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
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
Code:
sudo apt-get install ssh
2] In nautilus (your file manager) enter sftp://username@IP.OF.OTHER.BOX
Eg
Code:
sftp://hta@192.168.0.4
Enter the password (for the user on the other box)

Drag & drop files between the machines
 
  


Reply


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

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

All times are GMT -5. The time now is 02:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration