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 > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Check and install pssh, yum list pssh
2. The pssh command failed because keyless login was not configured.
[root@bogon ]# pssh -H root@192.168.245.129 -i uptime[1] 11:00:36 [FAILURE] root@192.168.245.129 Exited with error code 255Stderr: The authenticity of host '192.168.245.129 (192.168.245.129)' can't be established.RSA key fingerprint is 84:2d:70:33:1c:45:fa:e6:4b:94:72:7e:10:98:7c:a8.Are you sure you want to continue connecting (yes/no)? Host key verification failed.
3. Generate a secret key.
[root@bogon tmp]# ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa.Your public key has been saved in /root/.ssh/id_rsa.pub.The key fingerprint is:9e:14:9a:cc:8d:9b:fd:51:c5:68:24:e1:ce:c6:d7:33 root@bogonThe key's randomart image is:+--[ RSA 2048]----+| o.. || . o o || . . o o || o = = . o || * S = o E || * o o o || o + . || . . || . |+-----------------+[root@bogon .ssh]# lltotal 8-rw------- 1 root root 1675 Aug 22 11:06 id_rsa-rw-r--r-- 1 root root 392 Aug 22 11:06 id_rsa.pub
4. Copy to managed object.
[root@bogon .ssh]# ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.245.129The authenticity of host '192.168.245.129 (192.168.245.129)' can't be established.RSA key fingerprint is 84:2d:70:33:1c:45:fa:e6:4b:94:72:7e:10:98:7c:a8.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '192.168.245.129' (RSA) to the list of known hosts.reverse mapping checking getaddrinfo for bogon [192.168.245.129] failed - POSSIBLE BREAK-IN ATTEMPT! root@192.168.245.129's password: Now try logging into the machine, with "ssh 'root@192.168.245.129'", and check in: .ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.
The pssh command was successfully executed.
[root@bogon .ssh]# pssh -H root@192.168.245.129 -i uptime[1] 11:10:39 [SUCCESS] root@192.168.245.129 20:10:39 up 2:07, 1 user, load average: 0.00, 0.00, 0.00
summary
The above is all the content of this article, I hope the content of this article for everyone's study or work has a certain reference learning value, thank you for your support. If you want to know more about this, please check out the links below.
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.