autenticazione_con_chiavi_ssh
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| autenticazione_con_chiavi_ssh [2026/07/08 16:21] – created gabriele | autenticazione_con_chiavi_ssh [2026/07/08 16:26] (current) – gabriele | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code bash> | <code bash> | ||
| ssh-keygen -t ed25519 -f ~/ | ssh-keygen -t ed25519 -f ~/ | ||
| + | </ | ||
| + | |||
| + | ===== 2. Copiare la chiave pubblica ===== | ||
| + | |||
| + | Ti chiederà la password. | ||
| + | |||
| + | <code bash> | ||
| + | ssh-copy-id -i ~/ | ||
| + | </ | ||
| + | |||
| + | ===== 3. Configurazione ===== | ||
| + | |||
| + | Aggiungi una configurazione in '' | ||
| + | |||
| + | <code bash> | ||
| + | Host server.net | ||
| + | HostName server.net | ||
| + | User tuoutente | ||
| + | IdentityFile ~/ | ||
| + | </ | ||
| + | |||
| + | ===== 4. Autenticazione senza password ===== | ||
| + | |||
| + | Se hai aggiunto la configurazione l' | ||
| + | |||
| + | <code bash> | ||
| + | ssh server.net | ||
| + | </ | ||
| + | |||
| + | ===== 5. Algoritmi di cifratura deprecati ===== | ||
| + | |||
| + | Può succedere che su server legacy, l' | ||
| + | |||
| + | <code bash> | ||
| + | Host server.net | ||
| + | HostName server.net | ||
| + | User tuoutente | ||
| + | IdentityFile ~/ | ||
| + | PubkeyAcceptedAlgorithms +ssh-rsa | ||
| + | HostkeyAlgorithms +ssh-rsa | ||
| </ | </ | ||
autenticazione_con_chiavi_ssh.1783527691.txt.gz · Last modified: by gabriele
