{"id":799,"date":"2025-08-26T10:16:05","date_gmt":"2025-08-26T08:16:05","guid":{"rendered":"https:\/\/blog.chloesoe.ch\/?p=799"},"modified":"2025-08-26T10:16:05","modified_gmt":"2025-08-26T08:16:05","slug":"create-rotate-ssh-key","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=799","title":{"rendered":"Create \/ Rotate SSH Key"},"content":{"rendered":"<ol>\n<li>Create a new SSH key (set strong Password)\n<pre><code>ssh-keygen -t ed25519 -C &quot;user@host&quot;<\/code><\/pre>\n<\/li>\n<li>by default it's stored in <code>~\/.ssh\/id_ed25519<\/code> (private key) and <code>~\/.ssh\/id_ed25519.pub<\/code> (public key)<\/li>\n<li>add your public key (not Private !) where you need it, e.g. the following places and remove old ones:\n<ol>\n<li><a href=\"https:\/\/github.com\/settings\/keys\">https:\/\/github.com\/settings\/keys<\/a><\/li>\n<li><a href=\"https:\/\/gitlab.com\/profile\/keys\">https:\/\/gitlab.com\/profile\/keys<\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Create a new SSH key (set strong Password) ssh-keygen -t ed25519 -C &quot;user@host&quot; by default it&#8217;s stored in ~\/.ssh\/id_ed25519 (private key) and ~\/.ssh\/id_ed25519.pub (public key) add your public key (not Private !) where you need it, e.g. the following places and remove old ones: https:\/\/github.com\/settings\/keys https:\/\/gitlab.com\/profile\/keys<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,7],"tags":[25],"class_list":["post-799","post","type-post","status-publish","format-standard","hentry","category-it-sec","category-linux","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=799"}],"version-history":[{"count":1,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions"}],"predecessor-version":[{"id":800,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions\/800"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}