ssh-keygen

applematoMacBook-Air:~ apple$ ssh-keygen -t rsa -C "[email protected]"
applematoMacBook-Air:~ apple$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3Nzxxx
xxxx
xxxx
sFASiwBZp5Wyz [email protected]
applematoMacBook-Air:~ apple$ 
applematoMacBook-Air:~ apple$ ssh -T [email protected]
Welcome to Git@OSC, Wei Chou!
applematoMacBook-Air:~ apple$

你可能感兴趣的:(ssh-keygen)