SSH Config Generator
Generateur de fichier ~/.ssh/config pour simplifier vos connexions SSH.
Hosts SSH
Presets
Hosts configures (0)
~/.ssh/config
# Ajoutez des hosts pour generer la configuration
Utilisation
ssh mon-serveur
Connexion directe via alias
scp fichier.txt mon-serveur:/path/
Copie de fichier
rsync -avz ./local/ mon-serveur:/remote/
Synchronisation
Reference des Options
| Option | Description |
|---|---|
Host |
Alias pour la connexion |
HostName |
Adresse IP ou nom DNS reel |
User |
Utilisateur par defaut |
Port |
Port SSH (defaut: 22) |
IdentityFile |
Chemin vers la cle privee |
ProxyJump |
Host intermediaire (bastion) |
LocalForward |
Tunnel local (port:host:hostport) |
RemoteForward |
Tunnel distant |
DynamicForward |
Proxy SOCKS |
ForwardAgent |
Transfert de l'agent SSH |
ForwardX11 |
Transfert X11 |
ServerAliveInterval |
Keepalive interval (secondes) |
Compression |
Activer compression |
Securite
- Utilisez
chmod 600 ~/.ssh/configpour securiser le fichier - Preferez les cles Ed25519 (
ssh-keygen -t ed25519) - N'activez
ForwardAgentque si necessaire