Often as a shorthand, to copy credentials from one machine to another, I will copy-paste the contents into a file on the remote server. Is there a way to do this with binary data? For example, I have a python .pickle
file that I would like to copy to another location. Aside from using another utility such as scp
or git
, is it possible to copy/paste the data to the remote file?
Note: this is not about hot to copy a file locally. I am asking how do I copy-paste the contents of a binary file on my local machine to a remote machine.
If you're using software that can mount the remote server's directory locally, your operating system's file copy-paste system should be able to transfer the file over.
Otherwise, as you stated, a utility like scp, sftp, rsync, or similar would work very well for this.