LinuxQuestions.org
Visit Jeremy's Blog.
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 12-20-2010, 10:15 AM   #1
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Rep: Reputation: 15
Question How to mount a 'path' from the network?


Hi there,

My situation is that I've got a desktop within my university domain named 'pc1'. There are several other machines in my office as well, e.g., named 'pc2'. Every time, when I want to run some of the codes written by my group, I need to use 'ssh' to connect 'pc2':

Code:
ssh -X pc2.cs.xxx.edu
cd /home/cs/group1
As my machine pc1 is under the same domain as pc2, is there a method to mount '/home/cs/group1' directly? (I've got the user name and password)

Then I can run the codes under '/home/cs/group1' directly on my machine.

I checked 'mount' command, but hasn't got a clue how to do it. Thanks in advance if any suggestions or keywords I can google. Cheers.
 
Old 12-20-2010, 10:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Not a networking question, moved to linux - newbie.

Sounds like you want to look at sshfs, although as you've said nothing about what kind of file system /home is, nfs? If so there is probably a better way.

Note that being in tte same domain means nothing under linux insofar as they would typically be deployed, it's much more of a windows thing unless you're looking at single sign on with kerberos etc.
 
Old 12-20-2010, 10:46 AM   #3
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by acid_kewpie View Post
Not a networking question, moved to linux - newbie.

Sounds like you want to look at sshfs, although as you've said nothing about what kind of file system /home is, nfs? If so there is probably a better way.

Note that being in tte same domain means nothing under linux insofar as they would typically be deployed, it's much more of a windows thing unless you're looking at single sign on with kerberos etc.
Thanks a lot for your reply.

Just check using

Code:
df -T
I guess it is the right thing to do.

The '/home/cs/group1' is nfs, and pc1 is using Opensuse11, pc2 is using CentOS. I think '/home/cs/group1' is somewhere on the network. May I ask the details how to mount it please? Cheers!
 
Old 12-20-2010, 10:46 AM   #4
JosephFunches
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
nice! I was looking for this tutorial for a long time...
 
  


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
No network provider accepted the given network path jojunn Red Hat 6 12-23-2009 06:46 AM
Mount path ust Linux - Networking 2 04-29-2008 01:20 AM
subfs uses CD labels as mount path warrob Linux - General 1 09-09-2005 10:04 PM
how to mount a path ust Linux - Distributions 2 05-11-2005 10:34 AM
mount /dev/ path ust Linux - General 5 01-27-2005 09:33 PM

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

All times are GMT -5. The time now is 07:18 AM.

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