Error: String BEGIN is not base64 encoded – Azure SFTP

Added SSH Public Key to the SSH keys in Azure in Format below

—- BEGIN SSH2 PUBLIC KEY —-
Comment: “rsa-key-20221011”
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
—- END SSH2 PUBLIC KEY —-

Trying to add an existing Azure Public key to Local user for SFTP , I got the error message “Error: String BEGIN is not base64 encoded”

I had to change the public key format ( delete and re-add ) to  

ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx spprod

 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...