Nov 202010
 

Secure shell supports a public key authentication mechanism that allows you to log in to a remote machine without providing a password, but it requires configuration. You generate a key pair, storing the private key on your workstation while copying the public key to a remote machine. The private key on your workstation uniquely identifies Read more…

Creating an SSH alias

 Posted by at 7:38 pm  No Responses »
Oct 202010
 

Are you tied of typing the entire hostname each time you SSH into a machine? $ ssh -l user01 machine1.example.com You can add an alias to your ~/.ssh/config file, setting both the username and hostname. Host mymachine HostName machine1.example.com User user01 Now, all you have to type is: $ ssh mymachine Related articles:

© 2010 Geektastical Suffusion theme by Sayontan Sinha