I'm in the process of migrating all of my work from an iMac running macOS 10.14.6 (Mojave) to a new iMac running macOS 12.2.1 (Monterey).
On the older system, I'd had an alias that I'd created in Terminal that enabled me to ssh into a machine running Ubuntu. It was (I'm not adept at Terminal commands - I was shown them by good folks on this site):
nano ~/.bash_profile (return)
alias fah='ssh me@me-xxxxx-xxx-xx.local'
Then ControlO to save the alias and ControlX to exit nano.
Quit and re-open Terminal.
After that, all I had to do was type 'fah' (followed by the password for the Ubuntu machine).
The problem now is that the default shell displayed in Terminal on the new machine is 'zsh' and that command doesn't work.
Can anyone help me to create a new command for zsh?
I want to be able to do this because I'm running the Ubuntu machine without monitor, keyboard and mouse.
Bookmarks