Snapshot of appleboy/scp-action: 1.6k★, Shell. GitHub Action that copy files and artifacts via SSH.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
cat .ssh/id_rsa.pub | ssh user@host 'cat >> .ssh/authorized_keys'
# or for ed25519
cat .ssh/id_ed25519.pub | ssh user@host 'cat >> .ssh/authorized_keys'
Copy Private Key Content to GitHub Secrets:
clip < ~/.ssh/id_rsa
# or
clip < ~/.ssh/id_ed25519
See SSH login without password for more details.
OpenSSH Note:
If you see ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], ensure your key algorithm is supported.
On Ubuntu 20.04+, add to /etc/ssh/sshd_config or /etc/ssh/sshd_config.d/:
CASignatureAlgorithms +ssh-rsa
Or use ed25519 keys, which are accepted by default.
🧰 Common Error Codes
Error Code
Possible Cause
Solution
ECONNREFUSED
Wrong port / firewall blocks
Check port and firewall settings
ENOENT
Source file not found
Use absolute path or check checkout step
EAUTH
Authentication failed
Check key format and permissions (PEM format)
🔄 Workflow Diagram
sequenceDiagram
participant G as GitHub Runner
participant S as Target Server
G->>S: Establish SSH connection
S-->>G: Authenticate credentials
G->>S: (Optional) Remove target directory
G->>G: Archive source files
G->>S: Transfer archive
S->>S: Extract and process files
S-->>G: Return result
FAQ & Troubleshooting
Q: Why does authentication fail?
A: Check SSH key format, permissions, and that the key is added to the server.
Q: How do I copy only changed files?
A: Use tj-actions/changed-files to get changed files and pass to source.
Q: How to deploy to multiple servers?
A: Use comma-separated host list: host: "foo.com,bar.com"
Q: How to copy to Windows?
A: Set up Git Bash, use Unix-style paths, and enable tar_dereference.
The most recent commit recorded on appleboy/scp-action was 3 months ago, based on the GitHub push timestamp. The repository has 181 forks — one of the better signals of community interest.
How many stars does appleboy/scp-action have?
appleboy/scp-action has 1.6k GitHub stars — refresh the page for the live number, or check github.com/appleboy/scp-action. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is appleboy/scp-action?
appleboy/scp-action (appleboy/scp-action) is a Shell project on GitHub. From the project's own README: GitHub Action that copy files and artifacts via SSH.
What language is appleboy/scp-action written in?
appleboy/scp-action is written primarily in Shell. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is appleboy/scp-action associated with?
GitHub's repository topics for appleboy/scp-action: "github-action", "github-actions", "scp". TopGit's editorial category is open-source.
Read full README in the tab above.
Curious whether scp-action is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about scp-action.