{"id":1982,"date":"2019-04-22T06:04:54","date_gmt":"2019-04-22T05:04:54","guid":{"rendered":"http:\/\/cdblog.cdstealer.com\/?p=1982"},"modified":"2019-04-22T06:04:56","modified_gmt":"2019-04-22T05:04:56","slug":"ssh-agent","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=1982","title":{"rendered":"SSH Agent"},"content":{"rendered":"<h3>Adding your SSH key to the ssh-agent<\/h3>\n<p>Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key.<br \/>\nDoing this weakens the security, but only if someone has access to your account or your system has already been compromised.<br \/>\nSSH-AGENT is not a daemon and must be started upon each login which will ask for the passphrase.  You *could* NOHUP the command so it stays active between reboots. But I'd avoid doing this.<\/p>\n<p>Start the ssh-agent in the background.<\/p>\n<pre>$ eval \"$(ssh-agent -s)\"\n&gt; Agent pid 59566<\/pre>\n<p>Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.<\/p>\n<pre>$ ssh-add ~\/.ssh\/id_rsa<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Adding your SSH key to the ssh-agent Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key. Doing this weakens the security, but only if someone has access to your account or your system has already been compromised. &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=1982\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">SSH Agent<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1982","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1982"}],"version-history":[{"count":3,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1982\/revisions"}],"predecessor-version":[{"id":1985,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1982\/revisions\/1985"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}