Remote Script Scp Over Ssh Heredoc

Use when writing or deploying scripts to a remote server via SSH and the script contains special characters (backticks, $, quotes, heredocs) that break SSH string quoting. Trigger on phrases like "SSH heredoc fails", "quoting hell in SSH", "backtick in remote script", "unexpected EOF on SSH", "tee over SSH doesn't work", "remote script with special characters", "scp instead of SSH heredoc", "SSH string broken". Do NOT load for simple single-line SSH commands without special characters, for Ansible/Fabric (their own templating mechanisms), or for local scripts.

Ed3Design 8088cd2 4.7 KB Updated

File contents

Ed3Design/ed3design-skill-bundles/tree/main/code-quality/skills/remote-script-scp-over-ssh-heredoc commit 8088cd2893

Frequently asked questions

npx skillmds@latest add ed3design/remote-script-scp-over-ssh-heredoc