Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the skill of linux ssh alias login

2025-05-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

What are the knowledge points of this article "linux ssh alias login skills?" most people do not understand, so the editor summarizes the following content, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "what are the skills of linux ssh alias login" article.

You can create a ~ / .ssh/config file and specify login information and authentication methods for each server, as follows:

$vim ~ / .ssh/confighost www hostname www.ttlsa.com port 22 user root identityfile ~ / .ssh/id_rsa.pub identitiesonly yeshost bbs hostname 115.28.45.104 user anotheruser pubkeyauthentication no

Then directly specify an alias to log in.

Shell

$ssh www

1$ ssh www

Option comments:

Hostname specifies the hostname or ip address of the login

Port specifies the port number for login

User login user name

Public key file for identityfile login

Identitiesonly only accepts ssh key logins

Pubkeyauthentication

The above is the content of this article on "what are the skills of linux ssh alias login". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report