Review your favorite Linux distribution.
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 11-07-2008, 11:48 AM   #1
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
is there a better way?

hey all
my question of the day is this:
I window$ if i want to move a file between pcs i use the UNC [\\server\share] path and copy/paste the file

In Linux land I currently FTP everything between servers

Is there a better way?
Old 11-07-2008, 12:05 PM   #2
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
You have can use rcp (based on ssh if I well remember), samba (microsoft protocol), and if you don't want to to make a 'true' ftp connection, use ftpget and ftpsend...
Old 11-07-2008, 12:21 PM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
You have many options.

If all involved machines are linux based you can use ssh for remote shell access, ftp as you are using or even nfs. The advantage of nfs is that it's transparent in the sense that you use it just like any other mounted volume, however nfs is not too solid and I really don't advice it where data integrity matters. It has many issues.

If you want ssh, look into sshfs, which lets you mount a remote share via ssh. This is the best solution for me. Just setup a key pair so you can login without password and the mount your remote shell account using sshfs. There are other options. For example, konqueror and mc can access remote ssh shares directly, and manage them like if they were local directories, copy to/from them, etc. They can also do the same with ftp.

If you want linux/win conectivity, then the best option is samba, though you can use ssh as well or ftp, there are good clients like WinSCP that can be used to transfer things to/from the server, and I think that nfs is also usable in windows.
Old 11-10-2008, 12:31 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
scp not rcp :
Old 11-10-2008, 01:41 AM   #5
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
As chrism01 points out - 'scp'. (rcp is deprecated - serious security problems)
Once upon a time 'rcp' was the tool frequently used to transfer files between two machines. 'scp' is safer - as far as the user is concerned, they're mostly the same. Inside they're quite different - scp uses encrypted communications so no one can see your password in the clear over the net. rcp can use a certain file listing trusted hosts so that it can accept files without requiring a password - in scp you do the same by setting up trusted keys.
Old 11-10-2008, 05:59 AM   #6
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
On Linux the Konqueror filemanager/browser allows to open an SSH, FTP etc connection to a remote site, providing a graphical interface for browsing and copying files and directories.
These connections can be saved, so you can re-open them with a single mouse-click. Passwords can be stored as well, so it has to be entered only once, unless you avoid this due to security.

Last edited by Tinkster; 10-30-2010 at 05:17 PM.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 PM.

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