Wednesday, September 27, 2017

SSH for your virtual machines - copy commands


Sometimes when we work with virtual machines on our desktop computer we want to copy/paste some commands to the virtual machine terminal. And this sometimes is kind of tricky... I suffered it specially using VirtualBox and Linux based operating systems.

Therefore a workaround can be as I suggest here.

Set up SSH on our virtual machines. For this just on your virtual machine run command to
install OpenSSH:

sudo apt-get install openssh-server

Afterwards from your favourite SSH client (here we use PuTTY) you just connect to the IP of your virtual machine and thats it.