I'm working a lot with SSH connections to servers, by for example forwarding localports or just establishing SSH connection to manage some servers.
For this I would like to be able to create some terminal shortcuts for example:
connect ssh server1
-->should run command: ssh xyx@xy
connect ssh server2 forward
-->should run command: ssh -NC user@xy -L 9999:localhost:3306
Is there a way to specify custom terminal commands?