ssh key registration in ubuntu 22.04 and gerrit - githeim/windheim_archive GitHub Wiki

ssh key registration in ubuntu 22.04 and gerrit

cd ~/.ssh/

ssh-keygen -t ecdsa -C "[email protected]" 

cat ~/.ssh/id_ecdsa.pub

# Add your *.pub file to your gerrit server


vi ~/.ssh/config

Host your.host.that.the.gerrit.is.placed.com
  KexAlgorithms +diffie-hellman-group1-sha1
  PubkeyAcceptedAlgorithms +ssh-rsa
  HostkeyAlgorithms +ssh-rsa