{"id":461,"date":"2020-08-04T06:15:42","date_gmt":"2020-08-04T06:15:42","guid":{"rendered":"http:\/\/feellikelearning.com\/?p=461"},"modified":"2024-09-10T20:12:04","modified_gmt":"2024-09-10T20:12:04","slug":"cn-how-to-avoid-keep-entering-ssh-passphrase","status":"publish","type":"post","link":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/","title":{"rendered":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase?"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>\u5982\u679c\u4f7f\u7528ssh-keygen\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86passphase, \u6bcf\u6b21ssh\u7684\u65f6\u5019\u90fd\u4f1a\u8981\u6c42\u8f93\u5165\u8fd9\u4e2apassphase. \u5982\u679c\u9700\u8981\u9891\u7e41ssh, \u6bd4\u5982\u4ecegithub pull change\u7684\u65f6\u5019, \u6bcf\u6b21\u8f93\u5165\u975e\u5e38\u5f71\u54cd\u6548\u7387. \u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u5728Mac\u4e0a\u9700\u8981\u5148\u542f\u52a8ssh-agent\uff0c\u4e00\u822c\u5f00\u673a\u65f6\u505a\u4e00\u6b21\u5c31\u884c\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eval $(ssh-agent -s)<\/pre>\n\n\n\n<p>\u7136\u540e<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ssh-add<\/pre>\n\n\n\n<p>\u6216\u8005<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ssh-add &lt;key path><\/pre>\n\n\n\n<p>\u7136\u540e\u8f93\u5165\u4e00\u6b21passphase. \u8fd9\u6837\u8fd9\u4e2apassphase\u5c31\u4f1a\u88ab\u6dfb\u52a0\u5230ssh-agent\u91cc\u9762, \u5c31\u4e0d\u9700\u8981\u6bcf\u6b21\u8f93\u5165\u4e86.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f7f\u7528ssh-keygen\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86passphase, \u6bcf\u6b21ssh\u7684\u65f6\u5019\u90fd\u4f1a\u8981\u6c42\u8f93\u5165\u8fd9\u4e2apassphase. \u5982\u679c\u9700\u8981\u9891\u7e41ssh, \u6bd4\u5982\u4ecegithub pull change\u7684\u65f6\u5019, \u6bcf\u6b21\u8f93\u5165\u975e\u5e38\u5f71\u54cd\u6548\u7387. \u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a \u9996\u5148\uff0c\u5728Mac\u4e0a\u9700\u8981\u5148\u542f\u52a8ssh-agent\uff0c\u4e00\u822c\u5f00\u673a\u65f6\u505a\u4e00\u6b21\u5c31\u884c\u3002 \u7136\u540e \u6216\u8005 \u7136\u540e\u8f93\u5165\u4e00\u6b21passphase. \u8fd9\u6837\u8fd9\u4e2apassphase\u5c31\u4f1a\u88ab\u6dfb\u52a0\u5230ssh-agent\u91cc\u9762, \u5c31\u4e0d\u9700\u8981\u6bcf\u6b21\u8f93\u5165\u4e86.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning\" \/>\n<meta property=\"og:description\" content=\"\u5982\u679c\u4f7f\u7528ssh-keygen\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86passphase, \u6bcf\u6b21ssh\u7684\u65f6\u5019\u90fd\u4f1a\u8981\u6c42\u8f93\u5165\u8fd9\u4e2apassphase. \u5982\u679c\u9700\u8981\u9891\u7e41ssh, \u6bd4\u5982\u4ecegithub pull change\u7684\u65f6\u5019, \u6bcf\u6b21\u8f93\u5165\u975e\u5e38\u5f71\u54cd\u6548\u7387. \u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a \u9996\u5148\uff0c\u5728Mac\u4e0a\u9700\u8981\u5148\u542f\u52a8ssh-agent\uff0c\u4e00\u822c\u5f00\u673a\u65f6\u505a\u4e00\u6b21\u5c31\u884c\u3002 \u7136\u540e \u6216\u8005 \u7136\u540e\u8f93\u5165\u4e00\u6b21passphase. \u8fd9\u6837\u8fd9\u4e2apassphase\u5c31\u4f1a\u88ab\u6dfb\u52a0\u5230ssh-agent\u91cc\u9762, \u5c31\u4e0d\u9700\u8981\u6bcf\u6b21\u8f93\u5165\u4e86.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\" \/>\n<meta property=\"og:site_name\" content=\"Feel Like Learning\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-04T06:15:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T20:12:04+00:00\" \/>\n<meta name=\"author\" content=\"feellikelearning\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"feellikelearning\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\"},\"author\":{\"name\":\"feellikelearning\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"headline\":\"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase?\",\"datePublished\":\"2020-08-04T06:15:42+00:00\",\"dateModified\":\"2024-09-10T20:12:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\"},\"wordCount\":22,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\",\"url\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\",\"name\":\"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/#website\"},\"datePublished\":\"2020-08-04T06:15:42+00:00\",\"dateModified\":\"2024-09-10T20:12:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/feellikelearning.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/feellikelearning.com\/#website\",\"url\":\"https:\/\/feellikelearning.com\/\",\"name\":\"Feel Like Learning\",\"description\":\"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230\",\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/feellikelearning.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\",\"name\":\"feellikelearning\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"caption\":\"feellikelearning\"},\"logo\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/","og_locale":"en_US","og_type":"article","og_title":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning","og_description":"\u5982\u679c\u4f7f\u7528ssh-keygen\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86passphase, \u6bcf\u6b21ssh\u7684\u65f6\u5019\u90fd\u4f1a\u8981\u6c42\u8f93\u5165\u8fd9\u4e2apassphase. \u5982\u679c\u9700\u8981\u9891\u7e41ssh, \u6bd4\u5982\u4ecegithub pull change\u7684\u65f6\u5019, \u6bcf\u6b21\u8f93\u5165\u975e\u5e38\u5f71\u54cd\u6548\u7387. \u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a \u9996\u5148\uff0c\u5728Mac\u4e0a\u9700\u8981\u5148\u542f\u52a8ssh-agent\uff0c\u4e00\u822c\u5f00\u673a\u65f6\u505a\u4e00\u6b21\u5c31\u884c\u3002 \u7136\u540e \u6216\u8005 \u7136\u540e\u8f93\u5165\u4e00\u6b21passphase. \u8fd9\u6837\u8fd9\u4e2apassphase\u5c31\u4f1a\u88ab\u6dfb\u52a0\u5230ssh-agent\u91cc\u9762, \u5c31\u4e0d\u9700\u8981\u6bcf\u6b21\u8f93\u5165\u4e86.","og_url":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/","og_site_name":"Feel Like Learning","article_published_time":"2020-08-04T06:15:42+00:00","article_modified_time":"2024-09-10T20:12:04+00:00","author":"feellikelearning","twitter_card":"summary_large_image","twitter_misc":{"Written by":"feellikelearning","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#article","isPartOf":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/"},"author":{"name":"feellikelearning","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"headline":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase?","datePublished":"2020-08-04T06:15:42+00:00","dateModified":"2024-09-10T20:12:04+00:00","mainEntityOfPage":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/"},"wordCount":22,"commentCount":0,"publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/","url":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/","name":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase? | Feel Like Learning","isPartOf":{"@id":"https:\/\/feellikelearning.com\/#website"},"datePublished":"2020-08-04T06:15:42+00:00","dateModified":"2024-09-10T20:12:04+00:00","breadcrumb":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/04\/cn-how-to-avoid-keep-entering-ssh-passphrase\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/feellikelearning.com\/"},{"@type":"ListItem","position":2,"name":"\u600e\u6837\u907f\u514d\u91cd\u590d\u8f93\u5165ssh\u7684passphrase? | how to avoid keep entering ssh passphrase?"}]},{"@type":"WebSite","@id":"https:\/\/feellikelearning.com\/#website","url":"https:\/\/feellikelearning.com\/","name":"Feel Like Learning","description":"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230","publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/feellikelearning.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a","name":"feellikelearning","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","caption":"feellikelearning"},"logo":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/"},"url":"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/"}]}},"_links":{"self":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/461"}],"collection":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":4,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":2014,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/461\/revisions\/2014"}],"wp:attachment":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}