{"id":20406647,"url":"https://github.com/xwp/vassh","last_synced_at":"2025-07-23T01:34:33.989Z","repository":{"id":10041977,"uuid":"12087708","full_name":"xwp/vassh","owner":"xwp","description":"vassh: Vagrant Host-Guest SSH Command Wrapper/Proxy/Forwarder","archived":false,"fork":false,"pushed_at":"2016-07-28T03:17:55.000Z","size":11,"stargazers_count":65,"open_issues_count":8,"forks_count":6,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-04-12T15:08:07.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xwp.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}},"created_at":"2013-08-13T17:15:15.000Z","updated_at":"2025-02-18T18:01:54.000Z","dependencies_parsed_at":"2022-09-26T20:20:43.488Z","dependency_job_id":null,"html_url":"https://github.com/xwp/vassh","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xwp/vassh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fvassh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fvassh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fvassh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fvassh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xwp","download_url":"https://codeload.github.com/xwp/vassh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fvassh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266602820,"owners_count":23954696,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-11-15T05:18:35.360Z","updated_at":"2025-07-23T01:34:33.961Z","avatar_url":"https://github.com/xwp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"The big pain of doing `vagrant ssh` is that it doesn’t drop you into the corresponding working directory in the Vagrant guest’s synced_folder, so you have to `cd` to the dir and then run whatever you needed to do (e.g. `wp core update`). This is the problem that `vassh` solves: it will make sure you start out in the corresponding directory. So if you’re in your WordPress project on your host machine, all you need to do is:\n\n```sh\n$ vassh wp core update\n```\n\nThere’s also a wrapper called `vasshin` which will shell you into Vagrant at the current directory, with a prompt for entering commands. This gets you colors and interactive TTY. You can also pass commands as arguments to `vasshin` to have them executed right away in the colorized TTY (with some additional Vagrant `.bash_login` echoes and SSH connection close):\n\n```sh\n$ vasshin wp post list # nice table!\n```\n\nYou can put these files anywhere, as long as you source them via your `.bashrc` or `.bash_profile`.  They aren't read by Vagrant, so they're independent. Example:\n\n```sh\ngit clone https://github.com/x-team/vassh.git ~/code/vassh\necho \"source ~/code/vassh/vassh.sh\" \u003e\u003e ~/.bash_profile\nsource ~/.bash_profile\n```\n\nInstallation is also now possible via Homebrew ([props @kanedo](https://github.com/x-team/vassh/issues/9)):\n\n```sh\nbrew update \u0026\u0026 brew install vassh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fvassh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxwp%2Fvassh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fvassh/lists"}