public:macos10_openssh
文書の過去の版を表示しています。
OpenSSH on macOS 10.15
1. How to generate your SSH private key and public key
On your macOS Terminal
application, you execute
ssh-keygen -t ecdsa
.
This command generates your SSH private key and public key of the ECDSA type.
Your SSH public key is $HOME/.ssh/id_ecdsa.pub
.
Then you register the generated key in your macOS keychain
application
ssh-add -K $HOME/.ssh/id_ecdsa
.
2. Optional
Create $HOME/.ssh/config
file like the following:
Host * ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes IdentityFile /Users/XXXX/id_ecdsa UseKeychain yes AddKeysToAgent yes
Replace “XXXX” with your macOS username.
public/macos10_openssh.1656064068.txt.gz · 最終更新: 2022/06/24 18:47 by segawa