{"id":6231,"date":"2022-10-10T22:22:27","date_gmt":"2022-10-10T22:22:27","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6231"},"modified":"2022-10-10T22:22:27","modified_gmt":"2022-10-10T22:22:27","slug":"error-string-begin-is-not-base64-encoded-azure-sftp","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/error-string-begin-is-not-base64-encoded-azure-sftp","title":{"rendered":"Error: String BEGIN is not base64 encoded &#8211; Azure SFTP"},"content":{"rendered":"<p>Added SSH Public Key to the SSH keys in Azure in Format below<\/p><p>&#8212;- BEGIN SSH2 PUBLIC KEY &#8212;-<br \/>Comment: &#8220;rsa-key-20221011&#8221;<br \/>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br \/>&#8212;- END SSH2 PUBLIC KEY &#8212;-<\/p><p>Trying to add an existing Azure Public key to Local user for SFTP , I got the error message &#8220;Error: String BEGIN is not base64 encoded&#8221;<\/p><p>I had to change the public key format ( delete and re-add ) to\u00a0\u00a0<\/p><p>ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx spprod<\/p><p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Added SSH Public Key to the SSH keys in Azure in Format below&#8212;- BEGIN SSH2 PUBLIC KEY &#8212;-Comment: &#8220;rsa-key-20221011&#8221;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&#8212;- END SSH2 PUBLIC KEY &#8212;-Trying to add an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1464,4025,3191,3699,4026],"class_list":["post-6231","post","type-post","status-publish","format-standard","hentry","category-research","tag-azure","tag-azure-keys","tag-blob","tag-sftp","tag-ssh"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6231"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6231\/revisions"}],"predecessor-version":[{"id":6232,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6231\/revisions\/6232"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}