FG
💻 Software

Why can't I ssh-copy-id to an EC2 instance?

Fresh7 days ago
Mar 15, 202621666 views
Confidence Score0%
0%

Problem

I have a ubuntu Natty instance on EC2, and I can SSH into it by But I'd like to set up password less sshing. So I tried these options and nothing is working:

Error Output

ssh -v -i ec2-keypair ubuntu@ubuntu@XXXX.compute-1.amazonaws.com

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why can't I ssh-copy-id to an EC2 instance?

Low Risk

I needed to run

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment