chundev
GitHubGitHub (opens in a new tab)
  • Alias
  • Clamav
  • Cron
  • Dayjs
  • DNS
  • Electron
  • Git Actions
  • GitHub
  • Huggingface
  • Index
  • Ldap
  • Libreoffice
  • Mactools
  • Nginx
  • Ntp
  • Nvidia
  • Pino
  • Pm2
  • Postgresql
  • Proxy
  • Puppeteer
  • Squid
  • Tailwind
  • Trpc
  • Ubuntu
  • Windows11
  • Alias
  • Clamav
  • Cron
  • Dayjs
  • DNS
  • Electron
  • Git Actions
  • GitHub
    • ssh key
    • test connection
  • Huggingface
  • Index
  • Ldap
  • Libreoffice
  • Mactools
  • Nginx
  • Ntp
  • Nvidia
  • Pino
  • Pm2
  • Postgresql
  • Proxy
  • Puppeteer
  • Squid
  • Tailwind
  • Trpc
  • Ubuntu
  • Windows11

目錄

  • ssh key
  • test connection
GitHub

ssh key

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
 
eval "$(ssh-agent -s)"
 
cat ~/.ssh/id_rsa.pub

test connection

ssh -T git@github.com
ssh -T git@github.com -v