ssh_config
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ssh_config [2014/06/21 18:14] – creata kobe | ssh_config [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== SSH Config ====== | ||
| - | Il file ~/ | ||
| - | * definire dei parametri per ogni host, in questo modo e' possibile usare degli alias per connettersi | ||
| - | * definire dei parametri di default | ||
| - | |||
| - | ===== Parametri per host ===== | ||
| - | |||
| - | |||
| - | Ad esempio | ||
| - | E' possibile clonarsi il repository in locale con: | ||
| - | |||
| - | $ git clone root@gasistafelice.befair.it: | ||
| - | |||
| - | o in alternativa se si aggiunge un host " | ||
| - | Host gf | ||
| - | User root | ||
| - | HostName gasistafelice.befair.it | ||
| - | |||
| - | basta dare: | ||
| - | $ git clone gf:1ring | ||
| - | |||
| - | ===== Parametri di default ===== | ||
| - | |||
| - | Host * | ||
| - | User root | ||
| - | ServerAliveInterval 300 | ||
| - | | ||
| - | ControlMaster | ||
| - | ControlPath | ||
| - | ControlPersist 8h | ||
| - | |||
| - | |||
| - | |||
| - | Nota: e' importante che i parametri di default siano inseriti in fondo, perche' | ||
ssh_config.1403374457.txt.gz · Last modified: 2014/10/28 11:28 (external edit)
