SSH¶
Settings¶
- home
- My home server
- home80
- Port forward port 80 from home
- astro
- ARI External Gateway
- starpc
- StarPC Gateway
- starpc:
- StarPC: Alternative route
- cluster
- Cluster
- cluster2
- Cluster: Alternative route
- cluster3
- Cluster: Alternative route
- comp16
- Comp16
- comp17
- NOT READAY
- sussex
- Sussex
- aughtonvillagehallserver
- Aughton Village Hall
- pos
- MySQL port forward
- server
- Remote server - DEAD
Socks¶
Create a port forward on port 1080 (default SOCKS port):
ssh -Nn -D 1080 user@server
Omit the n if using a passphrase:
ssh -N -D 1080 user@server
Then set enable the socks proxy either through Internet Settings or Firefox
Examples¶
SSH Keys:
Host home
User martynbristow
Hostname martynbristow.no-ip.org
PubkeyAuthentication yes
IdentityFile ~/.ssh/id_rsa
Port Forward:
User home80
User martynbristow
Hostname martynbristow.no-ip.org
PubkeyAuthentication yes
IdentityFile ~/.ssh/id_rsa
LocalForward 8080 127.0.0.1:80
INstall SSH key ssh-copy-id ssh-copy-id user@server.example.com
OR
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server1.cyberciti.biz
OR
ssh-copy-id -i ~/.ssh/id_dsa.pub user@server1.cyberciti.biz
OR use specific port on remote host such as tcp port # 4242:
ssh-copy-id -i /path/key/file.pub “user@server.example.com -p 4242”