Re: [SLUG] Mounting a shared folder from one Mint PC on another Mint PC

2011-09-21 Thread Sonia Hamilton
* Jon Jermey jonjer...@gmail.com [2011-09-21 14:12:21 +1000]:
 The only help I can find with Google is horrendously complicated.
 Can anyone provide a simple solution or point me to a
 straightforward set of instructions?

Jon, for simple sharing you could try using ssh sharing instead of smb.

1. check you can ssh between the machines. If not, do this on both
machines:

sudo apt-get install openssh-server
sudo service ssh restart

(you may want to later setup ssh keys and tighten security by only
allowing key-based authentication if the boxes are exposed to the
internet, but that's another email)

2. install sshfs and mount the remote home directory:

sudo apt-get install sshfs
cd ~
mkdir mnt
sshfs target_servers_ip_or_hostname mnt
cd mnt
ls

I tend to use sshf for quick and dirty sharing, and nfs/smb (samba) for
longer term or higher bandwidth sharing.

HTH,

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mounting a shared folder from one Mint PC on another Mint PC

2011-09-21 Thread James Linder

On 22/09/2011, at 10:00 AM, slug-requ...@slug.org.au wrote:

 The only help I can find with Google is horrendously complicated.
 Can anyone provide a simple solution or point me to a
 straightforward set of instructions?
 
 Jon, for simple sharing you could try using ssh sharing instead of smb.
 
 1. check you can ssh between the machines. If not, do this on both
 machines:
 
 sudo apt-get install openssh-server
 sudo service ssh restart
 
 (you may want to later setup ssh keys and tighten security by only
 allowing key-based authentication if the boxes are exposed to the
 internet, but that's another email)
 
 2. install sshfs and mount the remote home directory:
 
 sudo apt-get install sshfs
 cd ~
 mkdir mnt
 sshfs target_servers_ip_or_hostname mnt
 cd mnt
 ls
 
 I tend to use sshf for quick and dirty sharing, and nfs/smb (samba) for
 longer term or higher bandwidth sharing.

Although I do agree with Sonia, I find this even easier

1) put your public key on the other box

[ 
ssh-keygen
ssh-copyid otherbox
]

2) Use nautilus to 'connect to remote server'

The other file system is just visible

I find sharedkey easier than friggin around with vault and saved passwords etc

James--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mounting a shared folder from one Mint PC on another Mint PC

2011-09-21 Thread Sonia Hamilton
On Thu, 22 Sep 2011 11:08:54 +0800, James Linder j...@tigger.ws said:
  I tend to use sshf for quick and dirty sharing, and nfs/smb (samba) for
  longer term or higher bandwidth sharing.
 
 Although I do agree with Sonia, I find this even easier
 
 1) put your public key on the other box
 
 [ 
 ssh-keygen
 ssh-copyid otherbox
 ]
 
 2) Use nautilus to 'connect to remote server'
 
 The other file system is just visible

Oh yes, the GUI... :-)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html