I recently ran into a similar problem trying to copy from windows and paste a really long "private key" via a terminal using Nano and could not get copy and paste to work. Instead of manually typing it by hand, I was able to use a text expander (I used AutoHotKey) to enter it that way.
↧