I'm trying to make a private system with four machines in it, lets call them
Host - IP 1,
Proxy - IP 2,
Server - IP 3,
Application - IP 4
A user connects to the host via ssh (I have this working without requiring a password), from the host, you can then connect to the proxy, application or server using ssh, but requires a password. I wish to be able to ssh without needing a password. However, I'm not quite sure how to implement this, but its clearly wrong, as the connection just hangs when i try it, the user has an account on all so "john" exists on all machines, currently I am simply connecting "john" to "john", so I don't have do do the whole name@server thing (but maybe its better to do that idk, I can connect to john using 'ssh IP' or to a different user using 'name@IP')
As an example, I have the following (is the hostname required? the application doesn't necessarily have one), this variation hangs
Host IP 3
HostName ServerHostName
User john
ProxyJump IP 1
This variation still requires the password
Host IP 1
HostName ServerHostName
User john
ProxyJump IP 3
How exactly do I implement the .ssh/config file to correctly connect without requiring a password?
A diagram of the connection