Clone repository via SSH

Clone a private GitHub repo using SSH (requires your key to be added to GitHub).

Clones a repository over SSH using a pre-configured SSH key. SSH clone avoids needing to enter credentials on push and is required for private repos without a personal access token.

When you need this: When cloning a private repo to a server, especially for automated deployments.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.