openssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| openssh [2018/03/04 14:39] – francesco | openssh [2022/07/21 14:50] (current) – francesco | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| port xx | port xx | ||
| user fxx | user fxx | ||
| + | |||
| + | Host AWS | ||
| + | hostname | ||
| + | port ** | ||
| + | user ec2-user | ||
| + | CertificateFile ~/ | ||
| + | IdentityFile | ||
| + | |||
| # SSH config file, 'man ssh_config' | # SSH config file, 'man ssh_config' | ||
| Line 34: | Line 42: | ||
| < | < | ||
| ssh-keygen -t rsa | ssh-keygen -t rsa | ||
| + | </ | ||
| + | |||
| + | o, meglio ancora: | ||
| + | |||
| + | < | ||
| + | ssh-keygen -t ed25519 | ||
| </ | </ | ||
| Line 65: | Line 79: | ||
| scp -P33 file.tar.gz francesco@91.121.23.14:/ | scp -P33 file.tar.gz francesco@91.121.23.14:/ | ||
| </ | </ | ||
| + | ---- | ||
| + | Per fare un tunnel con Syncthing | ||
| + | |||
| + | < | ||
| + | ssh -L 9090: | ||
| + | </ | ||
| + | ---- | ||
| + | Per fare un tunnel che mi permetta di scavalcare il firewall dell' | ||
| + | |||
| + | sul PC della biblioteca: | ||
| + | |||
| + | < | ||
| + | ssh -R 9091: | ||
| + | </ | ||
| + | |||
| + | (freebsd@164.90.160.203 è una VM DigitalOcean senza firewall attivato) | ||
| + | |||
| + | e poi, da qualsiasi altro PC collegato alla VM, fare: | ||
| + | |||
| + | < | ||
| + | ssh -p 9091 francesco@localhost | ||
| + | </ | ||
| + | |||
| + | e, una volta inserita la password, eccomi collegato al PC del lavoro! | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[sshfs]] | ||
openssh.1520170775.txt.gz · Last modified: by francesco
