1.Edit .bashrc

Find the line # some more ls aliases, then append

2.Edit .bash_profile

For one never log into the machine(e.g. root), more steps, if yes, step one is ok.
Edit .bash_profile


Alias with SSH Without password to manage remote server.
Setup SSH Without password.Follow the link.

Add alias command:

Then you can use your_command_here to login remote server without password and input ssh command on terminal.

Leave a Reply

Your email address will not be published. Required fields are marked *