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
. . .
selengkapnya>>