a guest Mar 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ### Sending a file
- # BSD nc syntax
- cat myDocument.pdf | ssh me.myserver.com nc -l 20000
- # Hobbit nc syntax - try this one if unsure!
- cat myDocument.pdf | ssh me.myserver.com nc -l -p 20000
- ### Receiving a file
- nc me.myserver.com 20000 > myDocument.pdf
RAW Paste Data