I want to use public/private key act for logging in to my raspberry pi. I have an existing public key (GnuPG), can i also use this one, or do i have to use putty keys (.ppk) for this? If this is possible, what from my public key has to be copied into authorized_keys? Because my public key is build like this
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: whatever some version
Comment: xy
AAAB3NzaC1yc2EAAAABJQAAAQEAr6tGCOUwhkSWsgm5Z4Fq2KkoqcCvk0MPGxuzudQ2v4DjCi382G
... ... ...
z30VpGiMr8qrnF7iApEjNLrcMCRAYHOKC/0DuyYXH60aLyBfmLa5hMsiP3qKvkayAuL=
=1T3F
-----END PGP PUBLIC KEY BLOCK-----
and the key in a .ppk file generated with putty looks like this
ssh-rsa
AAAAB3NzaC1yc2EAAAABJQAAAQEAr6tGCOUwhkSWsgm5Z4Fq2KkoqcCvk0MPGxuzudQ2v4DjCi382
Gz30VpGiMr8qrnF7iApEjNLrcMCRAYHOKC/0DuyYXH60aLyBfmLa5hMsiP3qKvkayAuL+SHrja6h/OpWAtom2bcnqLMqIFypP/fruYn4xHKIuTjiAtu5
/cgK90BamQQlf9GRxeTBEcSVNMBUdwJEAtJ9O7LOnco4riRH699mdHqouQljMjMOFVTQ2pqCmC2fA6/VvpRBrznKToGRSxj
/yCeLqoB6nAvPHleNGixGhYk+OkJNMPRRRFqvnP52baObD9+50Jaid4+odhwCgmpyOZt1XZ4NW+ks
7ldgQ== rsa-key-20180109
Do i also have to put the header "begin" and "end public key block" into the file?