SSH password-free access

Menu:

Setting

For example eg: Github.

Generated ssh key

1
ssh-keygen -t rsa -b 4096 -C "your email"

Check Permissions

1
ssh -T git@github.com

If output you GitHub user name,like this.

1
Hi <username>! You've successfully authenticated, but GitHub does not provide shell access.

Attention

if you got this frist time, you could need setting github config.

1
2
git config --global user.name "username"
git config --global user.email "email"

some git command need this setting.