{"repo":"shimataro/ssh-key-action","free":true,"listed":false,"github":"https://github.com/shimataro/ssh-key-action","clone":"git clone https://github.com/shimataro/ssh-key-action.git","description":"GitHub Action that installs SSH key to .ssh","language":"TypeScript","stars":616,"topics":["github-actions","ssh-key"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Install SSH Key [![Build][image-build]][link-build] [![Windows][image-verify-windows]][link-verify-windows] [![macOS][image-verify-macos]][link-verify-macos] [![Ubuntu][image-verify-ubuntu]][link-verify-ubuntu] [![Docker container (Ubuntu)][image-verify-docker-container-ubuntu]][link-verify-docker-container-ubuntu] [![Docker container (CentOS)][image-verify-docker-container-centos]][link-verify-docker-container-centos] [![Docker container (Alpine Linux)][image-verify-docker-container-alpine]][link-verify-docker-container-alpine] [![Release][image-release]][link-release] [![License][image-license]][link-license] [![Stars][image-stars]][link-stars] This action installs SSH key in /.ssh . Useful for SCP, SFTP, and rsync over SSH in deployment script. tested on: all available virtual machines (Windows Server 2022/2025, macOS 14 (Sonoma)/15 (Sequoia), and Ubuntu 22.04/24.04) Docker container (Ubuntu) / requires openssh-client package; apt install -y openssh-client Docker container (CentOS) / requires openssh-clients package; yum install -y openssh-clients Docker container (Alpine Linux) / requires openssh-client package; apk add openssh-client Usage Add your SSH key to your product secrets by clicking Settings - Secrets - Add a new secret beforehand. PEM(RSA), PKCS8, and RFC4716(OpenSSH) formats are OK. See Workflow syntax for GitHub Actions for details. NOTE: Server key of github.com will be always set to known hosts . SSH keys will be removed at the end of workflow. Install mult","default_branch":null,"files":null,"tree":[],"storefront":"/r/shimataro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shimataro/ssh-key-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}