I need to use SSH over SSH without confirmation in two hosts or at lease without confirmation on the second host.
Expected behavior:
ssh -t -o 'StrictHostKeyChecking no' user@machineB ssh -o 'StrictHostKeyChecking no' user@machineA
Currently working only:
ssh -t -o 'StrictHostKeyChecking no' user@machineB ssh user@machineA
by ssh-keyscan I can reach another host without confirmation
– goldver Dec 21 '18 at 11:09