mirror of
https://github.com/tildeclub/site.git
synced 2026-01-24 05:50:17 +00:00
Add links and cleanup formatting on multiple articles
This commit is contained in:
committed by
Ben Harris
parent
32e36c7242
commit
8855b7cfbf
@@ -5,21 +5,18 @@ title: SSHFS
|
||||
|
||||
On OS X:
|
||||
|
||||
Download the lastest version of OSXFUSE: [http://osxfuse.github.io/](http://osxfuse.github.io/)
|
||||
brew install sshfs
|
||||
- Download the lastest version of OSXFUSE: [http://osxfuse.github.io/](http://osxfuse.github.io/)
|
||||
- `brew install sshfs`
|
||||
|
||||
|
||||
Now you can mount a ssh server by issuing the following commands:
|
||||
|
||||
mkdir tilde.club
|
||||
sshfs jeffbonhag@tilde.club:/home/jeffbonhag tilde.club
|
||||
|
||||
|
||||
|
||||
mkdir tilde.club
|
||||
sshfs jeffbonhag@tilde.club:/home/jeffbonhag tilde.club
|
||||
|
||||
If you're on Linux and want to make an entry in your fstab:
|
||||
|
||||
mkdir -p /mnt/tilde.club
|
||||
mkdir -p /mnt/tilde.club
|
||||
|
||||
Put an entry in your `/etc/fstab` like this:
|
||||
|
||||
@@ -27,12 +24,12 @@ jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user,
|
||||
|
||||
then you can do
|
||||
|
||||
mount /mnt/tilde.club
|
||||
mount /mnt/tilde.club
|
||||
|
||||
If you want to use an identity file to mount instead of a password, this may
|
||||
work (untested):
|
||||
|
||||
jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user,idmap=user,transform_symlinks,identityfile=/home/USER_C/.ssh/id_rsa,allow_other,default_permissions,uid=USER_C_ID,gid=GROUP_C_ID,umask=0 0 0
|
||||
jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user,idmap=user,transform_symlinks,identityfile=/home/USER_C/.ssh/id_rsa,allow_other,default_permissions,uid=USER_C_ID,gid=GROUP_C_ID,umask=0 0 0
|
||||
|
||||
Although -- do you really need to do this? It just occurred to me that the
|
||||
first command is just as easy, and probably makes more sense.
|
||||
|
||||
Reference in New Issue
Block a user