Loading...
Loading...
Operate and troubleshoot sshc-rs for SSH fleet management. Use when tasks involve adding or editing SSH targets, connecting to saved hosts, running commands on one host/group/all hosts, interactive TTY sessions, uploading or downloading files, checking environment issues with doctor, launching web UI, or importing/exporting sshc configuration.
npx skill4agent add shadowpower/sshc-rs sshc-operationssshc listsshc lsshc c <name>sshcsshc f <name>sshc fsshc run <target> -- <cmd>vimtoplesssshc tty <name> -- <cmd>sshc up ...sshc down ...sshc config ...sshc api ...sshc doctor [name]sshc exportsshc importsudosudosshc run sudosshc tty sudosystemctl start|stop|restart|reload|enable|disable <service>service <name> start|stop|restartapt install|remove|update|upgradeyum install|removednf install|removepacman -S|-R/etc//sys//proc/sysctlhostnamectl/var/log//opt//usr/local//root/useraddusermodgroupaddpasswdiptablesip routeip linkfirewall-cmdufwmountumountfdiskmkfsfsckrebootshutdownpoweroffinitdocker ...systemctl restart dockerchmodchownsudoruntty# Correct — sudo as subcommand
sshc run sudo prod -- systemctl restart nginx
sshc run sudo @backend -p -- apt update
sshc tty sudo prod -- vim /etc/nginx/nginx.conf
# WRONG — never do this
sshc run prod -- sudo systemctl restart nginx # ← will NOT work
sshc run prod -- systemctl restart nginx # ← will fail with permission deniedsshc runsshc ttysudosshc run <target> -- <cmd>sshc run sudo <target> -- <cmd>sshc tty <name> -- <cmd>sshc tty sudo <name> -- <cmd>uname -ahostnamedateuptimewhoamiidlscatsystemctl status <service> --no-pagerdf -hfree -mtophtopps auxpgrepsshc listapi/configrunprod@backendall*tty@groupall*run-p/--parallelrun sudotty sudosshc run <target> -- <command ...>sshc tty <name> -- <command ...>sshc run ...sshc up <local_path> <server:remote_path>sshc down <server:remote_path> <local_path>sshc config add|edit|show|remove ...sshc config group list|add|rename|remove ...sshc api list|get|set|rmsshc config showsshc api listsshc listsshc run <target> -- <cmd>sshc listsshc run nas -- date-P--passwordapi get-p/--parallelsshc --help--helpsshc listsshc doctorsshc doctor <name>sshc config show <name>sshc api get <name>