in reply to creating and writing a file on server

$ ssh remotehost cat '>>' textfile < localfile maybe?

Or what is it you want to do? There are about a million ways to create a textfile on a remote server - what are your constraints?

Makeshifts last the longest.

  • Comment on Re: creating and writing a file on server