1. Open your ssh config using desired tool
vim ~/.ssh/config
2. Append the lines below, and "change the user":
Host kupe User ykh22 Hostname login.kupe.niwa.co.nz ProxyCommand ssh -W %h:%p %r@lander.nesi.org.nz ForwardX11 yes ForwardX11Trusted yes ServerAliveInterval 120
3. try login using the below command, if success you should only require to enter password once.
ssh kupe