{"id":13828846,"url":"https://github.com/bahamas10/windows-bash-ssh-agent","last_synced_at":"2025-04-11T06:32:13.420Z","repository":{"id":66012032,"uuid":"107431169","full_name":"bahamas10/windows-bash-ssh-agent","owner":"bahamas10","description":"Scripts to persist ssh-agent on Bash on Ubuntu on Windows","archived":false,"fork":false,"pushed_at":"2018-04-12T17:22:53.000Z","size":4,"stargazers_count":32,"open_issues_count":4,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-05T09:18:28.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://daveeddy.com/2017/10/18/persistent-sshagent-on-bash-on-ubuntu-on-windows/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahamas10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-10-18T16:00:41.000Z","updated_at":"2024-05-27T05:37:53.000Z","dependencies_parsed_at":"2023-05-27T15:45:48.077Z","dependency_job_id":null,"html_url":"https://github.com/bahamas10/windows-bash-ssh-agent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahamas10%2Fwindows-bash-ssh-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahamas10%2Fwindows-bash-ssh-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahamas10%2Fwindows-bash-ssh-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahamas10%2Fwindows-bash-ssh-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahamas10","download_url":"https://codeload.github.com/bahamas10/windows-bash-ssh-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223460670,"owners_count":17148760,"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-08-04T09:03:14.366Z","updated_at":"2024-11-07T05:06:47.759Z","avatar_url":"https://github.com/bahamas10.png","language":"Shell","readme":"ssh-agent on Bash on Ubuntu on Windows\n======================================\n\nScripts to use to persist `ssh-agent` on Bash on Windows on Ubuntu\n\nHow To\n-------\n\nRead the blog post here\n\nhttp://daveeddy.com/2017/10/18/persistent-sshagent-on-bash-on-ubuntu-on-windows/\n\nInstall\n-------\n\nPut the scripts into place\n\n    mkdir -p ~/bin\n    cp -vf ./start-ssh-agent ~/bin\n\nCreate a hidden scheduled task on Windows to then start this script at login\n\n    powershell -noprofile -windowstyle hidden -command \"c:\\windows\\system32\\bash.exe -c \"~/bin/start-ssh-agent\"\"\n\n\nDeprecated Process\n------------------\n\n**NOTE:** This is the old way of installing this - the new process is explained\nin the blog post and way more simple.\n\nThe above blog post illustrates all of the steps required to make this work.\nYou can run the included `install` script to put the script files into place.\n\n\n```\n$ cd old\n$ ./install\nmkdir: created directory '/home/dave/bin'\n'/home/dave/userprofile' -\u003e '/mnt/c/Users/dave'\nmkdir: created directory '/home/dave/userprofile/Documents/scripts'\n'/home/dave/userprofile/Documents/scripts/start-hidden.vbs' -\u003e '/home/dave/dev/windows-bash-ssh-agent/start-hidden.vbs'\n'/home/dave/userprofile/Documents/scripts/start-ssh-agent.bat' -\u003e '/home/dave/dev/windows-bash-ssh-agent/start-ssh-agent.bat'\n'/home/dave/bin/start-ssh-agent' -\u003e '/home/dave/dev/windows-bash-ssh-agent/start-ssh-agent'\n```\n\nThe Windows username can be supplied as the first argument - `$USER` is assumed.\n\nLicense\n-------\n\nMIT License\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahamas10%2Fwindows-bash-ssh-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahamas10%2Fwindows-bash-ssh-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahamas10%2Fwindows-bash-ssh-agent/lists"}