마켓 플레이스에서 구입 한 Wowza 인스턴스가 있습니다. 약 4 시간 전에 연결할 수 있었고 일부 작업을 수행하고있었습니다. 하지만 지금은 연결하려고 할 때 Permission denied (publickey) 오류가 발생합니다. chmod 명령을 사용하여 777 권한을 부여했습니다 ./ 여기 내가 생각하는 진정한 이유가 있습니다.Ec2 마켓 플레이스 Linux 인스턴스 사용 권한 거부 (공개 키)
this solution이 인스턴스의 루트 볼륨을 동일한 유형의 다른 인스턴스에 연결하려고하면 동일한 오류가 발생하지만 voulme가 분리되면 성공적으로 연결됩니다. 마켓 플레이스 인스턴스의 볼륨은 유사한 유형의 인스턴스에만 연결할 수 있습니다.
이제 어떻게 .ssh 디렉토리의 권한을 변경할 수 있습니까? 좀 도와 주실 래요? 내가 인스턴스에 연결하려고 할 때 다음
는 로그 다음과 같습니다 AWS 마켓 플레이스에서 시작OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 54.69.133.11 [54.69.133.11] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file Desktop/Shivam/mypemfile.pem type -1
debug1: identity file Desktop/Shivam/mypemfile.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA 6a:48:f5:14:13:9a:a1:79:e8:44:bb:0d:6b:8d:b7:59
The authenticity of host '54.69.133.11 (54.69.133.11)' can't be established.
ECDSA key fingerprint is 6a:48:f5:14:13:9a:a1:79:e8:44:bb:0d:6b:8d:b7:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '54.69.133.11' (ECDSA) to the list of known hosts.
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: Desktop/Shivam/mypemfile.pem
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
감사를 시작,하지만 나는 해결책을 찾고 있어요. 나는이 지위와 다른 많은 유사한 지위를 벌써 지났다. 이 문제는 다른 인스턴스에 연결하려고 할 때 발생합니다. 더 명확하게하기 위해 내 질문을 업데이트했습니다. – Shivam