Quantcast
Channel: Download a file over an active SSH session - Ask Ubuntu
Viewing all articles
Browse latest Browse all 13

Answer by wesalius for Download a file over an active SSH session

$
0
0

If your file is small enough you can encode it with base64 and then decode it locally:

remote.example.net$ base64 <myfile
(copy the output)
local.example.net$ base64 -d >myfile
(copy the output)
Ctrl+D

Original answer where I got this (and tested out) from: https://unix.stackexchange.com/a/2869/194134


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>