githubutilities at github
About Search

My SSH Cheatsheet

Mar 19, 2015

Enter SSH passphrase only once

$ ssh-add /home/username/.ssh/id_rsa

Use absolute path instead of relative path to avoid re-adding key after reboot.

SSH VPS without password

ssh-keygen -t rsa

scp id_rsa.pub username@server:~/.ssh/id_rsa.pub
> ssh username@server
> cd ~/.ssh
> cat id_rsa.pub >> authorized_keys
> exit

ssh username@server

Reference

  • Multiple SSH Keys for Multiple Github Accounts
  • askubuntu
  • perminent add ssh key on stackoverflow

githubutilities at github

  • githubutilities at github
  • githubutilities@163.com
  • githubutilities

This is githubutilities dedicating to upgrade personal workflow.