Don't create an alias. This is exactly what ssh
config is for.
You can add a host alias in your ssh
config in ~/.ssh/config
.
Example:
Host foo
HostName 172.16.254.1
Now when you type ssh foo
it will execute ssh 172.16.254.1
.
You can also add a user to the config. Example:
Host foo
HostName 172.16.254.1
User bar