How To Add SSH Keys to the SSH Agent on MacOS

Описание к видео How To Add SSH Keys to the SSH Agent on MacOS

Welcome back to the channel where I make howto videos from subjects like mac tips, backend, swift, salesforce and game development.

If you haven’t subscribed yet, please subscribe to my channel

In this video we are going to learn how to add ssh private keys to the ssh-agent(plus how it has changed with macos monterey an up) and how to load more than one key automatically using a config file. And also talk about how, the ssh-agent works.

Commands used:
list keys :
ssh-add -l

add keys in macos :
ssh-add --apple-use-keychain ~/.ssh/id_rsa

delete keys in ssh-agent :
ssh-add -d ~/.ssh/id_rsa

generate new ssh keys :
ssh-keygen -t ed25519

How To Use SSH With Github and Clone Remote Repositories in Git
   • How To Use SSH With Github and Clone ...  

create config file :
touch config

edit config file :
sudo vi config file

settings:
Host bitbucket.org
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/ge_id_rsa

Buy Me Coffee
https://buymeacoffee.com/pauloorquillo

Social
Twitter/X:   / olopsman  

Shot with Sony ZV-E10
https://amzn.to/3uVzPQt

Sigma 16mm f/1.4 DC DN
https://amzn.to/3AgH1d1
Rode MicroVideo Microphone
https://amzn.to/3ccVRYR

SanDisk 128GB Extreme PRO
https://amzn.to/3RF9gZD


My Workstation Setup
Macbook Pro 16 inch M1 Pro
https://amzn.to/3OdBqb7

Samsung 28-Inch 4K UHD Led-Lit Monitor
https://amzn.to/3Od1t27

USB C to HDMI Cable 4K
https://amzn.to/3REVpBe

Apple Magic Keyboard with Touch ID and Numeric Keypad
https://amzn.to/3Pwm6HF

Skillshare Referral
https://share.skillshare.com/pauloorq...

Комментарии

Информация по комментариям в разработке