Debian and its derivatives by default removes /dev/tcp from bash and then don't install netcat (either hobbit's or gnu's (you know, the one that creates a binary "nc" that doesn't support the default behavior of hobbit's so you need to pass it a -c to close a connection)), so simple connections to other boxes need a little craftiness. It appears that Debian has left TCP/IP in gawk, so we can upload a file via:

cat file | gawk ' { arr[i++] = $0 ; } END { post = "/inet/tcp/0/"; for (a in arr) {  print arr[a] |& post  } ; close(post) }'