LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2012, 02:46 AM   #1
ksmatthews
Member
 
Registered: Aug 2008
Posts: 86

Rep: Reputation: 15
Question remote file access


Hi All,

I am a web developer who requires direct access to files residing on another linux machine ... I want to be able alter those files directly from my own linux laptop within a LAN.

In Windows this can be achieved by mapping a network drive to another win machine.

Linux - Windows communication can be achieved using Samba.

But how can direct Linux - linux be achieved without using tools like ssh, scp or redesktop ?

regards,

Steven Matthews
 
Old 01-07-2012, 03:38 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can use either samba or nfs.
 
Old 01-07-2012, 04:28 AM   #3
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

Samba will do it
Quote:
23.3.2. Mounting the Share
Sometimes it is useful to mount a Samba share to a directory so that the files in the directory can be treated as if they are part of the local file system.

To mount a Samba share to a directory, create the directory if it does not already exist, and execute the following command as root:

Code:
mount -t  smbfs -o username=<username> //<servername>/<sharename> /mnt/point/
This command mounts <sharename> from <servername> in the local directory /mnt/point/.
 
Old 01-07-2012, 07:11 AM   #4
ksmatthews
Member
 
Registered: Aug 2008
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks Lithos,

So Samba is also used between linux systems ?

Steven M
 
Old 01-08-2012, 09:10 AM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Why do you want to avoid ssh/scp? You could even mount it using sshfs on your local machine.
 
Old 01-08-2012, 05:36 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Generally nfs is used or has been a traditional method. Samba is used when a windows system is involved.
 
  


Reply



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
Remote file access from c++ program JaseyJaseJase Programming 3 04-12-2009 02:28 PM
Remote Access to File ptreves Linux - Networking 5 09-09-2004 01:21 PM
remote file access l32 Linux - Networking 6 07-12-2004 12:50 AM
remote file access tsitras Linux - Networking 1 03-28-2004 09:58 AM
Terminating Remote File Access AceTech747 Linux - Security 15 01-05-2004 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:29 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
Open Source Consulting | Domain Registration