I am trying to connect to a remote host from a local host using SSH and all I want to do using a shell script. I can do it with
ssh hostname but the problem is for all hosts finger prints are being asked. I don't think key gen will be helpful as everytime it will be combination of new hosts. So how can I pass finger prints so that connection can be established.