SSH can be used as a sort of "poor man's VPN". For example, you want to get into IRC with your local client (mIRC, Weechat, etc), but your local network blocks IRC ports.
However! Your local network will almost always allow SSH (sysadmins need this for most day to day work). You can connect to tilde.team, and use port forwarding to get on.
What that SSH command did was open a local port tunnel (-L), using local port 6667 (6667:) pointed at localhost (From the remote's point of view), on remote port 6667 (Default IRC port).
Putty has the same ability (For Windows and Mac users), under Connection --> SSH --> Tunnels.
What if you don't want to edit files on the team server, but instead, you want to create it on your local machine? You don't want to have to copy/paste or re-type all of that, right?
## 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`:
The above executes the ping command from the server side of the house. The one thing you need to be careful of here are quotes and input redirection. It can have surprising affects, mixing remote and local pipes.