I often use this command to connect to another server with x forwarding:
[myuser@server1]$: ssh -Y 10.32.45.123 (10.32.45.123 is server2)
[email protected]'s password: [$myuser@server2]:$
I need an alias which will ssh to server2 with -Y option, and also enter my password for me.
How do I do it?