bash - permission denied (public key) -aws interface -


i'm kind of new bash programming, decided take online class in create t1 micro instance through aws , ssh in , of our work there. had been sshing through alias had made fine month, took short hiatus 2 weeks. when came got permission denied(public access) message. have looked @ other threads , gone .ssh files , compared files , like. might have fact generated new key pairs on t1 micro instance, don't know how fix it. when debug ssh -v key.pem get:

openssh_5.2p1, openssl 0.9.8x 10 may 2012 debug1: reading configuration data /users/myname/.ssh/config debug1: reading configuration data /etc/ssh_config ssh: not resolve hostname key.pem: nodename nor servname provided,       or not known 

it's issue 1 of systems not recognizing key pair, can't resolve it. everyone, comments welcome.

the problem ssh command

what want run is

ssh -i key.pem [user]@[servername]


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -