{"id":22270262,"url":"https://github.com/kitech/parallel-ssh","last_synced_at":"2026-01-24T14:43:08.051Z","repository":{"id":1861558,"uuid":"2786605","full_name":"kitech/parallel-ssh","owner":"kitech","description":"little modified from original parallel-ssh for suite my work needs;","archived":false,"fork":false,"pushed_at":"2012-06-02T04:36:23.000Z","size":168,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-12T22:52:33.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nullget.sourceforge.net/?q=node/494","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"schneems/let_it_go","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitech.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-16T08:56:09.000Z","updated_at":"2015-08-11T13:38:39.000Z","dependencies_parsed_at":"2022-07-08T00:18:48.898Z","dependency_job_id":null,"html_url":"https://github.com/kitech/parallel-ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitech%2Fparallel-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitech%2Fparallel-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitech%2Fparallel-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitech%2Fparallel-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitech","download_url":"https://codeload.github.com/kitech/parallel-ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227914255,"owners_count":17839245,"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-12-03T12:07:52.430Z","updated_at":"2026-01-24T14:43:08.039Z","avatar_url":"https://github.com/kitech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"原版的pssh,只在使用无密码证书登陆的时候非常方便,而对只支持密码登陆的ssh主机,则会弹出输入密码的交互提示,导致自动化脚本运行不自动了.\n\n由于服务器比较多,并且登陆方式不一样,有的用证书,有的使用密码,所以对pssh作一点hack,以方便提高工作效率.\n\n现在对pssh稍微做了点修改,在定义hosts.txt文件的时候,可选地加入密码项,如果检测到密码则使用sshpass这个命令来处理密码的自动输入功能.这样就能全自动进行了.\n\n原来的hosts.txt 格式:\n 1. host[:port] [login]\n 2. [user@]host[:port]\n\nhack后的文件格式:\n 1. host[:port] [login[:passwd]]\n 2. [user[:passwd]@]host[:port]\n\n虽然这样有些安全问题,但即使使用证书也存在同样级别的安全问题,因为如果保存hosts.txt的主机不安装,那么这主机上的登陆证书一样不安全. 把hosts.txt的权限设置与证书权限一样高,安全性是一样的.\n\n\n依赖外部包：\n    sshpass\n\n修改的源文件：\n    psshlib/psshutil.py\n    bin/pssh\n    bin/pscp\n    bin/pnuke\n    bin/prsync\n    bin/pslurp\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitech%2Fparallel-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitech%2Fparallel-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitech%2Fparallel-ssh/lists"}