Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • R rookie-training-course
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • rookie-training-course
  • Wiki
  • SSH pubkey authentication

Last edited by Alex Kuklin Nov 28, 2021
Page history

SSH pubkey authentication

Basics

  • https://www.ssh.com/academy/ssh/public-key-authentication
  • https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Public_Key_Authentication

Cheatsheet

  • Create new key: ssh-keygen
  • Add key to remote server by password: ssh-copy-id
  • Add key to local agent: ssh-add
  • Remove conflicting host key: ssh-keygen -R
  • Use local ssh agent connection from remote system: ssh -A
  • File with keys: ~/.ssh/authorized_keys
Clone repository
  • Chat communication
  • GitLab GitHub Bitbucket auth
  • OTP authentication
  • SSH pubkey authentication
  • ansible basics
  • docker basics
  • git concepts
  • Home
  • infrastructure as code concept
  • terraform basics
  • workflow