Auto login from certain ip.

In the simplest case, you could use a password manager, that fills in your user and password for the GUI and for SSH you can use ssh keys.