If you have ssh, you can mount it as a file system, and use the mounted directory as if it were in the local.
$ brew install sshfs
# mount $ sshfs firstname.lastname@example.org:/home/shohey1226 ~/mnt # umount $ fusermount -u mnt
With ssh, you can access remote ports as you access local ports. This can be useful for accessing localhost:8000 for Web development.
$ ssh -NT -o "ServerAliveInterval 60" -o TCPKeepAlive=yes -o "ServerAliveCountMax 120" -L 8000:localhost:8000 <username>@<hostname>.wazaterm.com
Autossh is a wrapper for automatic connection.
$ bew install autossh # macOS $ sudo apt install autossh # crostini on chromeOS
In combination with autossh, you can make local portforwarding connect automatically. Now you can use Wazaterm on the remote instance almost as if you were accessing locally.
$ autossh -M 50000 -NT -o "ServerAliveInterval 60" -o TCPKeepAlive=yes -o "ServerAliveCountMax 120" -L 8000:localhost:8000 @.wazaterm.com
It can be combined with sshfs as well as local portfwading. Now it is almost a local drive.
$ sshfs email@example.com: /home/foo/mnt -o ssh_command=autossh
You may not have many chances to use them, but scp and sftp have been around for a long time. You can use them to copy files. If you only need to copy one file, scp is faster in some cases. sftp may be an easier tool for those who know the ftp command.
# copy afile to /tmp in the wazaterm instance $ scp afile shohei@my_host.wazaterm.com:/tmp