Vagrant: How to paste text in Windows command window, when running Vagrant ssh

Issue

How can I copy and paste stuff into Windows command window, which runs Vagrant ssh in it? Right mouse button is then somehow blocked

Solution

The windows terminal is awful. To paste, what you need to do is right-click the top-left corner of the window (where the icon is), go down to edit, and select “Paste”. No keyboard shortcuts for it.

Now, one alternative is to connect to your vagrant VM with something like Putty. Just connect to localhost on port 2222. username is “vagrant” but you will need to take a few steps to convert the SSH key for login. Here is an article explaining what you need to do.

Answered By – noeldiaz

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published