Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I copy/paste in EC2 Connect AWS

I cannot use command+c/command+v on mac to copy paste text into my aws ec2 session window. How do I enable copy paste so that I can copy text from my local clipboard or from another window in ec2 session ?

I connected with "EC2 Instance Connect" from the console. Cmd-v just pastes a space.

like image 364
user11020868 Avatar asked Jun 30 '21 15:06

user11020868


People also ask

How do I enable copy paste in AWS workspaces?

In the Group Policy Management Editor, choose Computer Configuration, Policies, Administrative Templates, Amazon, and WSP. Open the Enable/disable clipboard redirection setting. In the Enable/disable clipboard redirection dialog box, choose Enabled or Disabled. Choose OK.

How do I disable copy and paste outside of Amazon EC2 Remote Desktop?

1 Answer. Show activity on this post. Device and Resource Redirection --> in right window select "Do not allow Clipboard redirection rule and enable it. So user will not allowed to copy/paste files from RDP session.

How to copy an file to AWS EC2 Linux Ami?

How To Copy An File To Aws Ec2 Linux Ami? cd /path/to/folder/ should be entered by the command prompt. Next, look for a command such as scp -i./key-pair.pem /.path/to/files/ .@ /public-ip>:/pathwhere/you/require/ to copy the files.

How to copy/move/share Amazon EC2 instance to another Amazon account?

How to Copy, Move or Share Amazon EC2 Instance to another Amazon Account? Step 1: Export an Amazon EC2 instance from Source Amazon Account In the first step, we will create an AMI image by using... Step 2: Import an Amazon EC2 Instance to target Amazon Account

How do I set up an instance in AWS EC2?

Click on Services and then open EC2. Then click on Key pairs Enter the key pair name and add the public key you copied in the previous step. Choose an Instance Type and click Next: Configure Instance Details.

How to copy local files to EC2 instance without installing any software?

Linux or Mac users can directly copy local files to ec2 instance using scp command, without installing any new software. Open the terminal and locate to your ec2 .pem file give the below command.


1 Answers

To test this situation, I launched an Amazon EC2 Linux instance and connected via EC2 Instance Connect.

I had the same experience as you:

  • Highlighting text 'copies' it to the clipboard
  • Right-clicking 'pastes' the clipboard
  • However, copying to the clipboard outside of the window and then attempting to paste it didn't work

This was using Google Chrome.

I then tried again using Safari and it worked fine.

So, there seems to be some strange behaviour in some browsers.

like image 84
John Rotenstein Avatar answered Oct 20 '22 06:10

John Rotenstein