Shell
1 yr. ago
Quickly paste clipboard content into a remote file over ssh using pbpaste and cat.
# Content must be on your clipboard before executingpbpaste | ssh {{USERNAME_VAR}}@{{CLIENT_IP_VAR}} 'cat > /path/to/file'Quickly paste clipboard content into a remote file over ssh using pbpaste and cat.
# Content must be on your clipboard before executingpbpaste | ssh {{USERNAME_VAR}}@{{CLIENT_IP_VAR}} 'cat > /path/to/file'