Kategori : Linux Ubuntu, Misc, Pipeline08 April 2022 10:30:18

Ubuntu Create Known Hosts

Sometime when we connect to server automatically (like on CI/CD pipeline), we need to define known hosts manually, below is command to generate known hosts

ssh-keyscan -t rsa server.example.com > my_known_hosts

Command above will generate known hosts on file my_known_hosts

Share : Share Facebook Share Twitter
Kategori : Linux Ubuntu, Misc, Pipeline08 April 2022 10:30:18

zuka.one
©2011