add section "Mount tilde folders on your machine using sshfs"
This commit is contained in:
parent
979a33fbd0
commit
474571ac0c
|
@ -40,6 +40,22 @@ As long as you can ssh, you can copy files to and from the remote side. It also
|
|||
|
||||
`scp tilde.team:~/CrapINeedThisFileLocally.js ./AwesomeLocalJSFile.js`
|
||||
|
||||
## Mount tilde folders on your machine using sshfs
|
||||
|
||||
But what if manually downloading files, editing them, and uploading them again is too tedious? Wouldn't it be great to just be able to edit a file on tilde.team from your home terminal?
|
||||
|
||||
With sshfs, you can mount a remote folder on your computer, and access it as if it were a local folder.
|
||||
|
||||
Refer to your distribution's package manager on how to install sshfs.
|
||||
|
||||
Once sshfs is installed, you can mount any folder on tilde.team to any folder on your machine. This example mounts your homefolder to `/tmp/tilde`:
|
||||
|
||||
`mkdir -p /tmp/tilde && sshfs USERNAME@tilde.team:/home/USERNAME /tmp/tilde`
|
||||
|
||||
You can unmount the tilde from your machine by running `umount` on the directory you mounted the directory to:
|
||||
|
||||
`umount /tmp/tilde`
|
||||
|
||||
## Remote execution
|
||||
|
||||
What if you don't want to really log into team.tilde, but you just need to run a command. You can do that too, with ssh!
|
||||
|
|
Loading…
Reference in New Issue
Block a user