May be this is a repeat question, but I couldn't find any answer that works for me in the search result.
I am trying to connect to a prod_host from my office_desktop_host which I have connected from windows/putty over VPN on my laptop. Interestingly, when I am in office I can ssh to this prod_host from my office_desktop_host without any passwords
Baically I am trying to run some script, that barfs because it prompts for password and if I press cancel gives me :
ssh_exchange_identification: Connection closed by remote host.
I have changed the hosts.allow on the prod_host to have SHD: ALL [which might be risky but is a diff discussion]
1] How can I do a passwordless ssh and why is it different between the same hosts, when I am on VPN