You may want to look at the .ssh/config
file in your user directory as a destination to save configuration items. The bonus is that other utilities using ssh get to use the entries you've configured (i.e. scp)
Check out: https://www.man7.org/linux/man-pages/man5/ssh_config.5.html
An example entry in ~/.ssh/config
would look like:
Host myserver.net
User your_username
Then any time you run ssh myserver.net
, it'll use the user you specify here by default.