I recently setup an Ubuntu virtual machine on Azure. I can access that machine via SSH. I'm trying to copy a bash script I have in my browser window. I want to paste that into a file on my virtual machine. In an attempt to do that, I created a new file on my Ubuntu virtual machine using Nano. I then tried to copy-and-paste however the script that I've copied isn't getting pasted.
I'm accessing the virtual machine via SSH via the Bash shell on Windows 10. Is there a way to copy-and-paste? if so how? If not, can someone please recommend how I might be able to get the bash script I want into the virtual machine without manually typing the whole thing?