User Tools

Site Tools


nix:proxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nix:proxy [2019/10/16 17:19]
kauffman
nix:proxy [2021/01/19 09:52] (current)
kauffman [SOCKS]
Line 11: Line 11:
  
 ====== SOCKS ===== ====== SOCKS =====
-Read up on SOCKS proxies here: https://​en.wikipedia.org/​wiki/​SOCKS+[[https://​en.wikipedia.org/​wiki/​SOCKS|Read up on SOCKS proxies]]
  
 Where the port number is set to '​20000',​ you can set this to any number between 1025-65535. You may find you will actually need to change this number if some other process is already using that port. Where the port number is set to '​20000',​ you can set this to any number between 1025-65535. You may find you will actually need to change this number if some other process is already using that port.
Line 101: Line 101:
 user@mymachine:​~$ psql -h localhost -U $username $dbname user@mymachine:​~$ psql -h localhost -U $username $dbname
 </​code>​ </​code>​
 +
 +====== SSHFS ======
 +
 +  * [[https://​www.digitalocean.com/​community/​tutorials/​how-to-use-sshfs-to-mount-remote-file-systems-over-ssh| Community tutorial]]
 +
 +This tutorial assumes mac or linux. See the community tutorial if you wish to use windows.
 +
 +==== Install SSHFS ====
 +Debian/​Ubuntu
 +<​code>​
 +apt-get install sshfs
 +</​code>​
 +
 +MacOS:
 +Download and install both packages from this site: https://​osxfuse.github.io/​
 +
 +==== Create Local directory ====
 +Create a directory on your local machine to which you wish to mount your CS home directory to.
 +<​code>​
 +mkdir $HOME/​cshome
 +</​code>​
 +
 +==== Mount ====
 +<​code>​
 +sshfs -o idmap=user,​reconnect,​allow_other,​default_permissions cnet@linux?​.cs.uchicago.edu:/​home/​cnet/​ $HOME/​cshome/​
 +</​code>​
 +
 +
/var/lib/dokuwiki/data/attic/nix/proxy.1571264374.txt.gz · Last modified: 2019/10/16 17:19 by kauffman