Advertisement
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement