ssh -i ~/.ssh/orgnote darkawower@65.108.90.95 how to make as fish alias permamently?
- User
ssh -i ~/.ssh/orgnote darkawower@65.108.90.95 how to make as fish alias permamently?
- Assistant
To create a permanent alias in the Fish shell for your SSH command, you can define a function or alias in your Fish configuration file.
Fish doesn't use traditional
aliaslike bash does for complex commands with arguments or options; instead, you define functions.Steps:
- Open (or create) your Fish config file:
nano ~/.config/fish/config.fish- Add a function or alias. Since your command is:
ssh -i ~/.ssh/orgnote darkawower@65.108.90.95Let's say you want to call this alias
orgssh.Add the following line to
config.fish:function orgssh ssh -i ~/.ssh/orgnote darkawower@65.108.90.95 end