teleport-a-binary-file-with-base64

JSON

rev 2  |  foxhop  |  1409165586000  |  JSON

rev 1
rev 2
6.. code-block:: bash6.. code-block:: bash
77
t8 openssl enc -e -base64 -in /path/to/binary.pfx -out /path/to/binary.pfx.base64t8 openssl enc -e -base64 -in /path/to/binary.pfx
99
10create a binary file from its base64 representation:10create a binary file from its base64 representation:
rev 1  |  foxhop  |  1409165453000  |  JSON

empty
rev 1
tt1teleport a binary file between ssh terminals with base64
2########################################################
3 
4create a base64 representation of the binary file:
5 
6.. code-block:: bash
7 
8 openssl enc -e -base64 -in /path/to/binary.pfx -out /path/to/binary.pfx.base64
9 
10create a binary file from its base64 representation:
11 
12.. code-block:: bash
13 
14 openssl enc -d -base64 -in /path/to/binary.pfx.base64 -out /path/to/binary.pfx
15 
16this creates a ascii file that may be used to copy and paste between terminal wi
 >ndows.
17