{"id":31519414,"url":"https://github.com/thc1006/windows-ssh","last_synced_at":"2025-10-29T01:15:30.934Z","repository":{"id":207460100,"uuid":"571326648","full_name":"thc1006/windows-ssh","owner":"thc1006","description":"Windows SSH Auto login vbscript","archived":false,"fork":false,"pushed_at":"2022-11-28T10:51:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-15T23:26:12.563Z","etag":null,"topics":["ssh","vbscript","visual-basic","windows","windows-10"],"latest_commit_sha":null,"homepage":"","language":"VBScript","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/thc1006.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}},"created_at":"2022-11-27T21:30:45.000Z","updated_at":"2023-11-15T23:26:14.223Z","dependencies_parsed_at":"2023-11-15T23:26:14.102Z","dependency_job_id":"fb5745c3-a2e2-4507-bbb5-d495aad5950f","html_url":"https://github.com/thc1006/windows-ssh","commit_stats":null,"previous_names":["thc1006/windows-ssh"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/thc1006/windows-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thc1006%2Fwindows-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thc1006%2Fwindows-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thc1006%2Fwindows-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thc1006%2Fwindows-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thc1006","download_url":"https://codeload.github.com/thc1006/windows-ssh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thc1006%2Fwindows-ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278150155,"owners_count":25938309,"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-10-03T02:00:06.070Z","response_time":53,"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":["ssh","vbscript","visual-basic","windows","windows-10"],"created_at":"2025-10-03T10:57:35.221Z","updated_at":"2025-10-03T10:57:36.121Z","avatar_url":"https://github.com/thc1006.png","language":"VBScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-ssh\nWindows SSH Auto Login vbscript\n\n## 做法\n- 前提 Windows 系統中要有 OpenSSH 伺服器 用戶端 (Openssh client)\n  - [安裝 OpenSSH -Microsoft](https://docs.microsoft.com/zh-tw/windows-server/administration/openssh/openssh_install_firstuse)\n  - Windows 11：設定-\u003e應用程式-\u003e選用功能-\u003e新增選用功能-\u003e OpenSSH 伺服器\n## 做法\n1. 建立一個 notpad (記事本)，左上角「檔案」點選「另存新檔」貼上下面程式碼。\n2. 檔案名稱副檔名改成 XXX.vbs，例如：login.vbs\n3. 存檔類型 選「所有檔案」，放在桌面。\n## 程式\n更改成自己的 IP （第2行），密碼（第4行）。\n```cmd=\nset wshshell=Wscript.CreateObject(\"WScript.Shell\")\nwshShell.Run \"ssh nycu@192.168.XX.XXX\"\nWscript.Sleep 1000\nwshshell.SendKeys \"nycuXXX\"\nwshShell.SendKeys \"{ENTER}\"\nWscript.Sleep 1000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthc1006%2Fwindows-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthc1006%2Fwindows-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthc1006%2Fwindows-ssh/lists"}