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
 Apache (5)
						
						
						
						Apache (5)
						
						 CSS (3)
						
						
						
						CSS (3)
						
						 Docker (6)
						
						
						
						Docker (6)
						
						 Git (5)
						
						
						
						Git (5)
						
						 Go (1)
						
						
						
						Go (1)
						
						 Hobbies & Toys (8)
						
						
						
						Hobbies & Toys (8)
						
						 HTML (4)
						
						
						
						HTML (4)
						
						 Javascript (5)
						
						
						
						Javascript (5)
						
						 jQuery (3)
						
						
						
						jQuery (3)
						
						 Linux Ubuntu (46)
						
						
						
						Linux Ubuntu (46)
						
						 Misc (36)
						
						
						
						Misc (36)
						
						 MySQL (3)
						
						
						
						MySQL (3)
						
						 Odoo (13)
						
						
						
						Odoo (13)
						
						 PHP (3)
						
						
						
						PHP (3)
						
						 Pipeline (1)
						
						
						
						Pipeline (1)
						
						 Postgresql (6)
						
						
						
						Postgresql (6)
						
						 Python (13)
						
						
						
						Python (13)
						
						 Quote (1)
						
						
						
						Quote (1)
						
						 Qweb (1)
						
						
						
						Qweb (1)
						
						 Random Word (1)
						
						
						
						Random Word (1)
						
						 Smartphone (1)
						
						
						
						Smartphone (1)
						
						 SQL Server (1)
						
						
						
						SQL Server (1)
						
						 Tools (7)
						
						
						
						Tools (7)
						
						 Useful Links (46)
						
						
						
						Useful Links (46)
						
						 Video (3)
						
						
						
						Video (3)
						
						 VLC (1)
						
						
						
						VLC (1)
						
						 Vue (1)
						
						
						
						Vue (1)
						
						 Web Server (3)
						
						
						
						Web Server (3)
						
						zuka.one
©2011