{"id":15750253,"url":"https://github.com/objarni/ssh_basics","last_synced_at":"2026-01-27T11:31:59.006Z","repository":{"id":142954243,"uuid":"88496305","full_name":"objarni/ssh_basics","owner":"objarni","description":"All you need to know about SSH to use GitHub/GitLab for ssh authentication","archived":false,"fork":false,"pushed_at":"2017-04-17T10:18:15.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T23:53:13.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/objarni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-17T10:08:03.000Z","updated_at":"2017-04-17T10:08:03.000Z","dependencies_parsed_at":"2023-04-30T17:33:24.950Z","dependency_job_id":null,"html_url":"https://github.com/objarni/ssh_basics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/objarni/ssh_basics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fssh_basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fssh_basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fssh_basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fssh_basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objarni","download_url":"https://codeload.github.com/objarni/ssh_basics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fssh_basics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T06:23:06.442Z","updated_at":"2026-01-27T11:31:58.991Z","avatar_url":"https://github.com/objarni.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"SSH basics\n==========\n\nAll you need to know about SSH to use GitHub/GitLab for ssh authentication\n\nFirst, generate a crypto keypair. Hit enter 3 times to accept all defaults.\n\n    $ ssh-keygen\n\nThen, copy the the public part of the generated keypair to clipboard:\n\n    $ cd ~\n    $ cd .ssh\n    $ cat id_rsa.pub   # .pub is for public; the 'id_rsa' file is the private part of the keypair!\n    (long string of data shown)\n\nCopy the string of data. Login to GitHub/GitLab and look for SSH keys under your account settings.\n\nPaste the string and save! You are now authenticated - no need for a password anymore! Also, it's generally more secure then a short password, as long as the access to your id_rsa file is secure, which it is if your user account has a good password.\n\nA note on ssh-agent\n-------------------\n\nThis whole magic is based on having the 'ssh agent' service running in the background. You may need to run it, especially on Windows, just type\n\n    $ ssh-agent\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fssh_basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjarni%2Fssh_basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fssh_basics/lists"}