In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use the ssh-add command of Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to use the ssh-add command of Linux.
The common Linux command ssh-add command is to add the private key to the cache of ssh-agent, which is located at / usr/bin/ssh-add.
Command format ssh-add [- cDdkLlXx] [- E fingerprint_hash] [- t life] [file...] ssh-add-s pkcs11ssh-add-e pkcs11 Common options-D: delete all keys in ssh-agent-d: delete keys from ssh-agent-e pkcs11: delete keys provided by PKCS#11 shared library pkcs1-s pkcs11: add keys provided by PKCS#11 shared library pkcs1-L: display keys in ssh-agent Public key-l: displays the key in ssh-agent-t life: sets the timeout for the loaded key The timeout ssh-agent will automatically unload the key-X: unlock the ssh-agent-x: lock the ssh-agent reference example to add the private key to the ssh-agent cache
[root@localhost ~] # ssh-add ~ / .ssh/id_rsa view keys in ssh-agent
[root@localhost ~] # ssh-add-l removes a key from ssh-agent
[root@localhost] # ssh-add-d ~ / .ssh/id_rsa.pub locks ssh-agent
[root@localhost ~] # ssh-add-x displays the public key in ssh-agent
[root@localhost] # ssh-add-L at this point, I believe you have a deeper understanding of "how to use the ssh-add command of Linux". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.