Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2490

Raspberry Pi OS • ssh-keygen problem

$
0
0
I can't get generate ssh public and private keys for use with github.com.

I run the following code:

Code:

pi@desktop-pi:~ $ ssh-keygen -t ed25519 -C "gldrplt@gmail.com"Generating public/private ed25519 key pair.Enter file in which to save the key (/home/pi/.ssh/id_ed25519): /home/pi/.ssh/mypiEnter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/pi/.ssh/mypiYour public key has been saved in /home/pi/.ssh/mypi.pubThe key fingerprint is:SHA256:llvfUVHNO13fjUabdK/omJlCUBsp0TQtiHrYNHBTtx4 gldrplt@gmail.comThe key's randomart image is:+--[ED25519 256]--+|  ..ooo=+o     o+||   .+.o.*o.   o *||   = . oE+   o =X||  o o ...o    =+*||   .   .S .  o...||       ..o ..... ||       ..  *. .  ||        . = .    ||         .       |+----[SHA256]-----+pi@desktop-pi:~ $ eval "$(ssh-agent -s)"Agent pid 2863pi@desktop-pi:~ $ ssh-add /home/pi/.ssh/mypi.pub@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Permissions 0644 for '/home/pi/.ssh/mypi.pub' are too open.It is required that your private key files are NOT accessible by others.This private key will be ignored.pi@desktop-pi:~ $ chmod 700 .ssh/mypi*pi@desktop-pi:~ $ ssh-add /home/pi/.ssh/mypi.pubError loading key "/home/pi/.ssh/mypi.pub": error in libcryptopi@desktop-pi:~ $  
Why am I getting the error about libcrypto?

Statistics: Posted by gldrplt — Sun Jun 02, 2024 5:49 pm



Viewing all articles
Browse latest Browse all 2490

Trending Articles