{"id":16073621,"url":"https://github.com/phstc/sshp","last_synced_at":"2025-03-22T08:44:28.579Z","repository":{"id":8893325,"uuid":"10613779","full_name":"phstc/sshp","owner":"phstc","description":"SSHP - Let's Pablo memorize your ssh credentials","archived":false,"fork":false,"pushed_at":"2013-12-22T13:11:45.000Z","size":2348,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T18:00:14.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/phstc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-11T02:51:48.000Z","updated_at":"2013-12-22T13:11:48.000Z","dependencies_parsed_at":"2022-07-06T20:43:42.907Z","dependency_job_id":null,"html_url":"https://github.com/phstc/sshp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstc%2Fsshp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstc%2Fsshp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstc%2Fsshp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phstc%2Fsshp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phstc","download_url":"https://codeload.github.com/phstc/sshp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931585,"owners_count":20534009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-09T08:21:42.950Z","updated_at":"2025-03-22T08:44:28.556Z","avatar_url":"https://github.com/phstc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"SSHP - Let's Pablo memorize your SSH credentials.\n\n## Instalation\n\n```sh\ngem install sshp\n```\n\n## Usage\n\nTo save an alias without hostname:\n\n```sh\nsshp-alias u -i ~/keys/my_key.pem -l ubuntu\n```\n\nThen\n\n```sh\nsshp u hostname.com\n```\nTo save an alias with hostname:\n\n```sh\nsshp-alias u -i ~/keys/my_key.pem -l ubuntu hostname.com\n```\nThen\n\n```sh\nsshp u\n```\n\n### .sshp\n\nAll aliases will be saved at `~/.sshp`.\n\n## ssh_config\n\nRemember that you can also use [ssh_config](http://linux.die.net/man/5/ssh_config) for many cases in place of sshp.\n\n```sh\n# ~/.ssh/config\nHost u\n    HostName hostname.com\n    User ubuntu\n    IdentityFile ~/keys/my_key.pem\n```\n\nThen\n\n```sh\nssh u\n```\n\nHave a look at [\"Simplify Your Life With an SSH Config File\"](http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/) it is a well detailed post about ssh_config.\n\n\n## sshp vs ssh_config\n\nThe difference between sshp vs ssh_config is that using sshp you can save the aliases without `Host` and `HostName`, you can save only the credentianls, which is usefull when you have multiple servers/hosts using the same credentianls i.e. `sshp u host-a`, `sshp u host-b` etc.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphstc%2Fsshp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphstc%2Fsshp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphstc%2Fsshp/lists"}