How to do a fast file transfer from a VM to your local computer

How to do a fast file transfer from a VM to your local computer, for example, without the hassle of SFTPing to a third server and setting up a username/password/SSH key-access to it:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install python-pip
curl https://raw.githubusercontent.com/justbeamit/beam/master/beam --output beam
pip install requests==2.8.1
pip install requests_toolbelt==0.3.0
pip install progressbar2==2.7.3
sudo cp beam /usr/local/bin
chmod 755 /usr/local/bin/beam
beam /path/to/file

The first 8 commands are JustBeamIt pre-requisites, and assume CentOS/RHEL. The file expires in 10 minutes.

JustBeamIt Description from Github

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s