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 Updated 0 repo stars

File contents

Ed3Design/ed3design-skill-bundles commit 8088cd2893

Frequently asked questions

npx get-skill add ed3design/remote-script-scp-over-ssh-heredoc