I have 2 servers. I can connect to server B only using server A. In my
Host serverB Hostname serverb User root ForwardAgent yes Port 22 ProxyCommand ssh user@serverA nc %h %p
When I login to serverA and type
ssh root@serverB It connects without asking for password, but when I type
ssh ServerB on my local machine, it asks for ServerB's password. Why?