Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using windows and is connecting to an ubuntu server I want to add this line to a text file

/dev/xvdf       /mnt1   auto    defaults,nobootwait     0       0

obviously I prefer to copy and paste that rather than typing it

So I do nano /etc/fstab in amazon ec2

Then what?

I can't paste anything. How do I paste lines like that to nano or any other linux text editor?

share|improve this question
Which program are you using to connect in Windows? Most will provide a paste functionality from your local clipboard. – izx Aug 30 '12 at 10:49
The amazon ec2 has this thing called mindterm – Jim Thio Aug 30 '12 at 11:17
  • Mindterm is a browser-based, Java-applet SSH client.
  • Copy/paste may be available using either the Edit menu or the Ctrl+Ins (Copy) or Shift+Ins (Paste) shortcuts:

    enter image description here

  • Copy/paste from your local clipboard may not be available depending on the version of Java you have installed and Mindterm's settings by Amazon

  • In that case, use a native SSH client such as the excellent PuTTY.

    • The AWS-SSH wrapper makes using PuTTY with multiple Amazon EC2 instances much more convenient. It can be downloaded as a single EXE file, no installation needed, from here

    enter image description here

share|improve this answer

Most clients copy each other's main functionality, you can try copy the text, go into the the the mindterm and do SHIFT + INSERT or copy the text and put the cursor where you want to paste and do a right click. []

this worked for me for a lot of clients.

share|improve this answer
not justified vote down, actually read the documentation for mindterm. – kmassada Aug 30 '12 at 11:57
I can't use this easily, and feel the downvote was justified. I did not downvote, hoewever. – hexafraction Aug 30 '12 at 12:20
okay maybe it is unclear? what do you mean by can't use this easily? – kmassada Aug 30 '12 at 12:24
It appears to be a bt unweidly and seems to have trouble with long blocks of text. – hexafraction Aug 30 '12 at 12:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.