{"id":18032373,"url":"https://github.com/dmitriz/tech-guides","last_synced_at":"2026-01-18T06:11:11.809Z","repository":{"id":146747627,"uuid":"262220754","full_name":"dmitriz/tech-guides","owner":"dmitriz","description":"Technical Guides for basic setups","archived":false,"fork":false,"pushed_at":"2020-05-08T05:22:18.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T21:46:42.487Z","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/dmitriz.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":"2020-05-08T03:46:30.000Z","updated_at":"2020-05-08T05:22:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"0add4cfe-7ff5-46c7-b0d5-67572934e2cf","html_url":"https://github.com/dmitriz/tech-guides","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmitriz/tech-guides","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriz%2Ftech-guides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriz%2Ftech-guides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriz%2Ftech-guides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriz%2Ftech-guides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmitriz","download_url":"https://codeload.github.com/dmitriz/tech-guides/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriz%2Ftech-guides/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-30T10:13:13.357Z","updated_at":"2026-01-18T06:11:11.792Z","avatar_url":"https://github.com/dmitriz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# tech-guides\nTechnical Guides for basic setups\n\n# Code management\n\n## SSH keys\n\nTo avoid using passwords that are generally insecure, you can instead use [SSH](https://en.wikipedia.org/wiki/Secure_Shell) based [Public Key authentication](https://www.ssh.com/ssh/public-key-authentication) for easy password-less code transfer between your computer and remote repositories on Github/Gitlab/Bitbucket.\n\nTo set up, you need two simple steps:\n1. Generate `ssh` key on your computer.\n2. Add your `ssh` key to Github/Gitlab/Bitbucket.\n\n### Step 1: Generate ssh key\n\n1. Open Terminal (On macOS click Applications/Utilities/Terminal).\n2. (Optional) Check your current `ssh` key if present: `ls -l ~/.ssh/id_rsa.pub`. If not present or too old, generate new key. Otherwise skip step 3 below.\n3. (Skip this step if you want to keep your old `ssh` key): enter `ssh-keygen` in your Terminal:\n```sh\n$ ssh-keygen \nGenerating public/private rsa key pair.\nEnter file in which to save the key (/Users/dmitrizaitsev/.ssh/id_rsa):\n```\nJust hit return, choose `y` to overwrite and return twice to set no passphrase (or set one if you prefer):\n```sh\nOverwrite (y/n)? y\nEnter passphrase (empty for no passphrase): \nEnter same passphrase again: \nYour identification has been saved in test.\nYour public key has been saved in test.pub.\nThe key fingerprint is:\n...\n```\n\nIf the command `ssh-keygen` is not found, you need to install `ssh`, e.g. with `openssh` package with [MacPorts](https://ports.macports.org/port/openssh/summary) (my preference).\n\n\n### Add your ssh key to your Github/Gitlab/Bitbucket account\n0. Copy your `ssh` key to your clipboard - type in terminal: `cat ~/.ssh/id_rsa.pub | pbcopy`\n\n#### Github\n1. Go to your `SSH and GPG keys` settings: https://github.com/settings/keys.\n2. Click on green button `New SSH key` at the top on the right.\n3. Type any title for your reference and paste your key (Cmd-V) into the Key window.\n4. Click the green button `Add SSH key` and done!\n\n#### Gitlab\n1. Go to your `SSH keys` settings: https://gitlab.com/profile/keys.\n2. Paste your key (Cmd-V) into the Key window.\n3. (Optional) Change \"Title\" and \"Expires as\" fields.\n4. Click the green button `Add key` and done!\n\n### More detailed instructions\n- [Github: Generating a new SSH key and adding it to the ssh-agent](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriz%2Ftech-guides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmitriz%2Ftech-guides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriz%2Ftech-guides/lists"}