You are currently viewing How to save ssh access in Terminal

How to save ssh access in Terminal

define ~/.ssh/config file with the following contents:

nano ~/.ssh/config

Host mars
    HostName meh.example.com
    User admin
    Port 1234
    IdentityFile ~/.ssh/id_rsa

mars is identical name which we use in terminal for example :

ssh mars

Jobair Alam Bipul

I'm Jobair Alam, a cPanel Certified WHM/cPanel server administrator and web hosting expert with over 10 years of experience in the industry.

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

HostArmada - Affordable Cloud SSD Web Hosting