{"id":24758809,"url":"https://github.com/shrimpliu/drone-ssh","last_synced_at":"2025-03-23T10:16:42.834Z","repository":{"id":81410263,"uuid":"191895460","full_name":"shrimpliu/drone-ssh","owner":"shrimpliu","description":"drone ci ssh plugin","archived":false,"fork":false,"pushed_at":"2019-06-14T07:21:11.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T16:41:23.772Z","etag":null,"topics":["drone","drone-ci","drone-plugin","ssh"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/shrimpliu.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,"publiccode":null,"codemeta":null}},"created_at":"2019-06-14T07:20:25.000Z","updated_at":"2019-09-16T07:14:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"882f34c2-9e9c-4f16-a4aa-12347ce9afa8","html_url":"https://github.com/shrimpliu/drone-ssh","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/shrimpliu%2Fdrone-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrimpliu%2Fdrone-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrimpliu%2Fdrone-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrimpliu%2Fdrone-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrimpliu","download_url":"https://codeload.github.com/shrimpliu/drone-ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245084607,"owners_count":20558251,"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":["drone","drone-ci","drone-plugin","ssh"],"created_at":"2025-01-28T16:39:08.715Z","updated_at":"2025-03-23T10:16:42.808Z","avatar_url":"https://github.com/shrimpliu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DRONE-CI SSH 插件\n\n- 使用\n\n使用私钥登录\n\n```yaml\nkind: pipeline\nname: default\nsteps:\n  - name: publish\n    image: droneplugin/ssh\n    privileged: true\n    settings:\n      host: {Your-Remote-Host}\n      user: {Your-Remote-User}\n      pem: {Your-Private-Key}\n      command:\n        - ls\n        - echo hello\n```\n\n使用私钥文件登录\n\n```yaml\nkind: pipeline\nname: default\nsteps:\n  - name: publish\n    image: droneplugin/ssh\n    privileged: true\n    settings:\n      host: {Your-Remote-Host}\n      user: {Your-Remote-User}\n      pem_file: {Your-Private-Key-Path}\n      command:\n        - ls\n        - echo hello\n```\n\n带密码的私钥登录\n\n```yaml\nkind: pipeline\nname: default\nsteps:\n  - name: publish\n    image: droneplugin/ssh\n    privileged: true\n    settings:\n      host: {Your-Remote-Host}\n      user: {Your-Remote-User}\n      pem: {Your-Private-Key}\n      passphrase: {Your-Private-Passphrase}\n      command:\n        - ls\n        - echo hello\n```\n\n使用密码登录\n\n```yaml\nkind: pipeline\nname: default\nsteps:\n  - name: publish\n    image: droneplugin/ssh\n    privileged: true\n    settings:\n      host: {Your-Remote-Host}\n      user: {Your-Remote-User}\n      password: {Your-Remote-Password}\n      command:\n        - ls\n        - echo hello\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrimpliu%2Fdrone-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrimpliu%2Fdrone-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrimpliu%2Fdrone-ssh/lists"}