AWS EC2 stop working

Hi Yang

today all my access to EC2 stop working, all my profile un core shell askme for password when all the time I use key .Pem

here is debug3

ssh -i "/Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem" -vvv -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes admin@54.91.203.78
19:53:54 Conectando…
19:53:54 Usando Core Helper 6.4 (r3345)
19:53:55 OpenSSH_8.4p1, OpenSSL 1.1.1h 22 Sep 2020
19:53:55 debug1: Reading configuration data /Users/skyones/.ssh/config
19:53:55 debug1: Reading configuration data /etc/ssh/ssh_config
19:53:55 debug1: /etc/ssh/ssh_config line 47: Applying options for *
19:53:55 debug2: resolve_canonicalize: hostname 54.91.203.78 is address
19:53:55 debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/skyones/.ssh/known_hosts'
19:53:55 debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/skyones/.ssh/known_hosts2'
19:53:55 debug2: ssh_connect_direct
19:53:55 debug1: Connecting to 54.91.203.78 [54.91.203.78] port 22.
19:53:55 debug1: Connection established.
19:53:55 debug1: identity file /Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem type -1
19:53:55 debug1: identity file /Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem-cert type -1
19:53:55 debug1: Local version string SSH-2.0-OpenSSH_8.4
19:53:55 debug1: Remote protocol version 2.0, remote software version Cisco-1.25
19:53:55 debug1: match: Cisco-1.25 pat Cisco-1.* compat 0x60000000
19:53:55 debug2: fd 3 setting O_NONBLOCK
19:53:55 debug1: Authenticating to 54.91.203.78:22 as 'admin'
19:53:55 Autenticando…
19:53:55 debug3: hostkeys_foreach: reading file "/Users/skyones/.ssh/known_hosts"
19:53:55 debug3: record_hostkey: found key type RSA in file /Users/skyones/.ssh/known_hosts:17
19:53:55 debug3: load_hostkeys: loaded 1 keys from 54.91.203.78
19:53:55 debug3: order_hostkeyalgs: prefer hostkeyalgs: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
19:53:55 debug3: send packet: type 20
19:53:55 debug1: SSH2_MSG_KEXINIT sent
19:53:55 debug3: receive packet: type 20
19:53:55 debug1: SSH2_MSG_KEXINIT received
19:53:55 debug2: local client KEXINIT proposal
19:53:55 debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
19:53:55 debug2: host key algorithms: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com
19:53:55 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
19:53:55 debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
19:53:55 debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
19:53:55 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
19:53:55 debug2: compression ctos: none,zlib@openssh.com,zlib
19:53:55 debug2: compression stoc: none,zlib@openssh.com,zlib
19:53:55 debug2: languages ctos:
19:53:55 debug2: languages stoc:
19:53:55 debug2: first_kex_follows 0
19:53:55 debug2: reserved 0
19:53:55 debug2: peer server KEXINIT proposal
19:53:55 debug2: KEX algorithms: diffie-hellman-group14-sha256
19:53:55 debug2: host key algorithms: ssh-rsa
19:53:55 debug2: ciphers ctos: aes128-gcm@openssh.com,aes256-ctr,aes256-cbc,aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,chacha20-poly1305@openssh.com
19:53:55 debug2: ciphers stoc: aes128-gcm@openssh.com,aes256-ctr,aes256-cbc,aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,chacha20-poly1305@openssh.com
19:53:55 debug2: MACs ctos: hmac-sha2-256
19:53:55 debug2: MACs stoc: hmac-sha2-256
19:53:55 debug2: compression ctos: none
19:53:55 debug2: compression stoc: none
19:53:55 debug2: languages ctos:
19:53:55 debug2: languages stoc:
19:53:55 debug2: first_kex_follows 0
19:53:55 debug2: reserved 0
19:53:55 debug1: kex: algorithm: diffie-hellman-group14-sha256
19:53:55 debug1: kex: host key algorithm: ssh-rsa
19:53:55 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
19:53:55 debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
19:53:55 debug2: bits set: 1022/2048
19:53:55 debug3: send packet: type 30
19:53:55 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
19:53:55 debug3: receive packet: type 31
19:53:55 debug1: Server host key: ssh-rsa SHA256:FBWsUbOutL2388sezOuHnST64WEjeOuv27GNGj4/hAE
19:53:55 debug3: hostkeys_foreach: reading file "/Users/skyones/.ssh/known_hosts"
19:53:55 debug3: record_hostkey: found key type RSA in file /Users/skyones/.ssh/known_hosts:17
19:53:55 debug3: load_hostkeys: loaded 1 keys from 54.91.203.78
19:53:55 debug1: Host '54.91.203.78' is known and matches the RSA host key.
19:53:55 debug1: Found key in /Users/skyones/.ssh/known_hosts:17
19:53:55 debug2: bits set: 1009/2048
19:53:55 debug3: send packet: type 21
19:53:55 debug2: set_newkeys: mode 1
19:53:55 debug1: rekey out after 134217728 blocks
19:53:55 debug1: SSH2_MSG_NEWKEYS sent
19:53:55 debug1: expecting SSH2_MSG_NEWKEYS
19:53:55 debug3: receive packet: type 21
19:53:55 debug1: SSH2_MSG_NEWKEYS received
19:53:55 debug2: set_newkeys: mode 0
19:53:55 debug1: rekey in after 134217728 blocks
19:53:55 debug1: Will attempt key: /Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem explicit
19:53:55 debug2: pubkey_prepare: done
19:53:55 debug3: send packet: type 5
19:53:55 debug3: receive packet: type 6
19:53:55 debug2: service_accept: ssh-userauth
19:53:55 debug1: SSH2_MSG_SERVICE_ACCEPT received
19:53:55 debug3: send packet: type 50
19:53:55 debug3: receive packet: type 51
19:53:55 debug1: Authentications that can continue: publickey,password
19:53:55 debug3: start over, passed a different list publickey,password
19:53:55 debug3: preferred publickey,keyboard-interactive,password
19:53:55 debug3: authmethod_lookup publickey
19:53:55 debug3: remaining preferred: keyboard-interactive,password
19:53:55 debug3: authmethod_is_enabled publickey
19:53:55 debug1: Next authentication method: publickey
19:53:55 debug1: Trying private key: /Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem
19:53:55 debug3: sign_and_send_pubkey: RSA SHA256:klCW6+dD/0VcEKQuvevN4AjYsSB05UQuUkIRcG4RbOA
19:53:55 debug3: sign_and_send_pubkey: signing using ssh-rsa SHA256:klCW6+dD/0VcEKQuvevN4AjYsSB05UQuUkIRcG4RbOA
19:53:55 debug3: send packet: type 50
19:53:55 debug2: we sent a publickey packet, wait for reply
19:53:55 debug3: receive packet: type 51
19:53:55 debug1: Authentications that can continue: publickey,password
19:53:55 debug2: we did not send a packet, disable method
19:53:55 debug3: authmethod_lookup password
19:53:55 debug3: remaining preferred: ,password
19:53:55 debug3: authmethod_is_enabled password
19:53:55 debug1: Next authentication method: password
19:53:55 debug1: read_passphrase: requested to askpass
19:53:55 debug3: send packet: type 50
19:53:55 debug2: we sent a password packet, wait for reply
19:53:55 debug3: receive packet: type 51
19:53:55 debug1: Authentications that can continue: publickey,password
19:53:55 Permission denied, please try again.
19:53:55 debug1: read_passphrase: requested to askpass
19:54:00 The operation was canceled.
19:54:00 Desconexión anormal

Hi Jose, don't worry, I will help you fix the problem. Could you please run this command in a local terminal?

ssh -i "/Users/skyones/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/ASAv.pem" -vvv -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes admin@54.91.203.78

And please also post your desensitized output.

Yang

Thanks for quick reply, I destroy my EC2 instance :(, I create new instante and work ok, I some case Cose shell stuck or freeze, Im sin macOS Monterrey beta 8.

is full compatible with tis OS?

macOS Monterey is on beta, so it may contains bugs, and it's hard to identify a problem belongs to macOS or Core Shell.

Here is an issue report that obviously caused by Monterey:

I have same issue :(.

In you roadmap is Snippet ?

I'm not quite understand what you mean, could you please say more about it?

Yang

Snippets

Save your frequently used commands for later and fast execute them when needed

Yes, it's on the list, but with a lower priority.

Yang