ssh-argv0: for the lazzy ‘ssh’ typer
Those of us who often use often ssh to login or start remote commands will find this useful:
$ ln -s /usr/bin/ssh-argv ~/bin/$HOST $ $HOST
You can use the FQDN of the host of course, but a short alias is even more shorter. Put this in your .ssh/config and use the alias for the link:
Host $FQDN $ALIAS HostName $FQDN
And yes, you want to put both $FQDN and $ALIAS in the Host line. If you ever add more options to this Host entry you want to apply it to both $FQDN and $ALIAS. If you omit $FQDN the options will only apply to the $ALIAS.
thanks for the hint!