Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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

2 Answers 2

  • 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. [http://www.astro.umd.edu/resources/internal/ssh/MindTerm_User.pdf]

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

 
discard

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.