~/.ssh/config
Në shqip: ~/.ssh/config
ShpjegimiSQ
Në ~/.ssh/config u jep emra të shkurtër serverëve, me përdoruesin, portin dhe çelësin. Pastaj në vend të „ssh -i ~/.ssh/key -p 2222 deploy@203.0.113.5“ shkruan thjesht „ssh prod“.
EnglishEN
In ~/.ssh/config you give servers short names, with the user, port and key. Then instead of “ssh -i ~/.ssh/key -p 2222 deploy@203.0.113.5” you just type “ssh prod”.
Si ta mendosh
Si kontaktet në telefon: thërret me emër, jo me numër.
Lexoje në anglisht
Like phone contacts: call by name, not by number.
Shembull koditext
Host prod
HostName 203.0.113.5
User deploy
Port 2222
IdentityFile ~/.ssh/id_ed25519