LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-07-2008, 12:48 PM   #1
watcher69b
Member
 
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, 01:05 PM   #2
jf.argentino
Member
 
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, 01:21 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
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, 01:31 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
scp not rcp : http://www.informit.com/articles/art...p=169465&rll=1
 
Old 11-10-2008, 02:41 AM   #5
pinniped
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, 06:59 AM   #6
salter
Member
 
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 06:17 PM.
 
  


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




All times are GMT -5. The time now is 12:34 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