In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to use the ssh-agent command of Linux". The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to use the ssh-agent command of Linux" can help you solve your doubts.
The Linux common command ssh-agent command is a program that controls the private key used for public key authentication. Ssh-agent starts at the beginning of an X session or login session, and all other windows or programs start and join the ssh-agent program as a client program.
Command format: ssh-agent [options] [parameters] Common options-a bind_address:bind the agent to the UNIX-domain socket bind_address-c: generate C-shell style command output-d: debug mode-k: kill the ssh-agent process-s: generate Bourne shell style command output-t life: set the default value to add to the agent's identity maximum life reference example print its own environment and variables
[root@localhost ~] # ssh-agentSSH_AUTH_SOCK=/tmp/ssh-mEzZAcgaaUTc/agent.79715; export SSH_AUTH_SOCK;SSH_AGENT_PID=79716; export SSH_AGENT_PID;echo Agent pid 79716; [root@localhost ~] # debugging mode
[root@localhost] # ssh-agent-dSSH_AUTH_SOCK=/tmp/ssh-msMhqUI6VBdK/agent.79750; export SSH_AUTH_SOCK;echo Agent pid 79750 * debug 2: fd 3 setting O_NONBLOCK1234 kills the ssh-agent process
[root@localhost ~] # ssh-agent-kSSH_AGENT_PID not set, cannot kill agent [root@localhost ~] # generate C-shell style command output
[root@localhost] # ssh-agent-csetenv SSH_AUTH_SOCK / tmp/ssh-oNG3p6IS07db/agent.79817;setenv SSH_AGENT_PID 79818 X echo Agent pid 79818 [root@localhost] # read here, this article "how to use the ssh-agent command of Linux" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it. If you want to know more about related articles, 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.
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.