In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The key type and number of bits generated according to the default when you generate a key on the OK,SSH-2 RSA,1024 bit, you need to move the mouse in the blank area to generate random data click to save the private key (you can not set password protection), do not generate the public key, because the public key OpenSSH generated by PUTTY cannot be used. Log in to the remote Linux server / VPS with 2.SSH password and create .ssh / authorized_keys. Vim ~ / .ssh/authorized_keys pastes the public key content generated by puttygen.exe to ~ / .ssh/authorized_keys. Note: the public key content is shown in the public key (P) approved by OpenSSH: below this line of characters. As to why the file name is authorized_keys, you can find the following two lines # PubkeyAuthentication yes in / etc/ssh/sshd_config
# AuthorizedKeysFile .ssh / authorized_keys 3. Log in to your Linux server / VPS Putty → session with SSH certificate: fill in Putty → connection → data on server IP: fill in automatic login user name Putty → connection → SSH → authentication: select authentication private key file back to Putty → session: save the session, fill in a name and save it, next time you can log in directly by double-clicking the name, and log in immediately. 4. For security you need to cancel the password authentication method of SSH. Vim / etc/ssh/sshd_config add the following line for PasswordAuthentication no to restart the SSH service service sshd restart
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.