Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joram77/d314ac2899cd9fc3147e61102538622d to your computer and use it in GitHub Desktop.
Save joram77/d314ac2899cd9fc3147e61102538622d to your computer and use it in GitHub Desktop.
docker cp ./.ssh/id_ed25519 container-name:/root/.ssh/id_rsa ; docker exec container-name bash -c "chmod 700 /root/.ssh/id_rsa"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment