pssh file and known_hosts

when I use pssh, trying to access a remote machine that is not inside the UNIX file of known hosts, pssh freezes after entering the password. After adding the host using the direct ssh command, pssh works.

So, is there an option to give the pssh command to avoid this problem?

Thanks for your help, Relationship

+3
source share
2 answers

Give it a try pssh -O StrictHostKeyChecking=no. This works for me.

ssh "ask", , . "", , . . hostA, - hostB IP-, ssh , hostB . StrictHostKeyChecking = , , .

+10

known_hosts. :

ssh-keyscan HOSTNAME >> $HOME/.ssh/known_hosts
+1

Source: https://habr.com/ru/post/1780174/


All Articles