Skip to content

Instantly share code, notes, and snippets.

@Scott31393
Last active August 25, 2021 08:49
Show Gist options
  • Save Scott31393/db7990abc16daafa84fad95d64ba3949 to your computer and use it in GitHub Desktop.
Save Scott31393/db7990abc16daafa84fad95d64ba3949 to your computer and use it in GitHub Desktop.
Remote work tools

Remote Work Tools

SSHFS

SSHFS allows you to mount a remote filesystem using SFTP. Most SSH servers support and enable this SFTP access by default, so SSHFS is very simple to use - there's nothing to do on the server-side.

Install

$ sudo apt-get install sshfs

Use

$ sshfs user@server-ip:/server-workdir/ /local-workdir/mount-point/


RSYNC

Rsync command-line tool.

Install

$ sudo apt-get install rsync grsync

Use (Server to Local)

$ rsync -azv user@server-ip:server-to-be-copied-dir/ /local-copied-dir/

Use (Local to Server)

$ rsync -azv /local-to-be-copied-dir/ user@server-ip:server-copied-dir/


GIT-COLA

$ sudo apt-get install git-cola

Use

$ cola


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment