SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### Sending a file
  2. # BSD nc syntax
  3. cat myDocument.pdf | ssh me.myserver.com nc -l 20000
  4.  
  5. # Hobbit nc syntax - try this one if unsure!
  6. cat myDocument.pdf | ssh me.myserver.com nc -l -p 20000
  7.  
  8.  
  9. ### Receiving a file
  10. nc me.myserver.com 20000 > myDocument.pdf
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top