pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


execute code from Cygwin to target with default Win10/sshd+Cygwin
Posted by Anonymous on Thu 2nd May 2024 12:39
raw | new post

  1. # execute code from Cygwin to target with default Win10/sshd+Cygwin
  2. $ (mycmd="echo 'hello'" ; ssh roland_mainz@localhost "c:\\cygwin64\\bin\\bash.exe --norc -o xtrace -c \"$mycmd\"")

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at