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.


电子邮件地址不会被公开。 必填项已用*标注