NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem using SSH/SFTP account for accessing AWS EC2


Joined: 01 May 2024
Posts: 1
Reply with quote
Hi guys, I can't make this SSH/SCP login work with key.

I have AWS Instance EC2 ( Amazon Linux 2023 ) with SSH KEY , which I can login from my PC , using pytty, secureCRT, SecureFX, WinSCP - but can't do it from Nusphere PHPed 20.0 build 20038

What I am doing is setting they key to Private keys ( or Public keys ) as saparate SSH setting, and then apply this to my connection. I am sending some logs from server too.

I tried to put the PEM file both in Public keys or Private keys - same error.

On Nusphere side I get Permission denied - Failed to connect to server

On the server side I get:
[root@c66 ~]# journalctl --all -r -n 10
May 01 20:09:53 c66 audit[10049]: USER_LOGIN pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=login acct="ec2-user" exe>
May 01 20:09:53 c66 audit[10049]: CRYPTO_KEY_USER pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server >
May 01 20:09:53 c66 audit[10049]: USER_ERR pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=PAM:bad_ident grantors=? ac>
May 01 20:09:53 c66 audit[10049]: CRYPTO_KEY_USER pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server >
May 01 20:09:53 c66 sshd[10049]: Connection closed by authenticating user ec2-user 10.2.4.4 port 65304 [preauth]
May 01 20:09:53 c66 audit[10049]: CRYPTO_KEY_USER pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=session>
May 01 20:09:53 c66 audit[10049]: CRYPTO_SESSION pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=start direction=from->
May 01 20:09:53 c66 audit[10049]: CRYPTO_SESSION pid=10049 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=start direction=from->
May 01 20:09:53 c66 audit[10050]: CRYPTO_KEY_USER pid=10050 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server >


looks like I can't attach pictures to this post - it gives me LINK to external sites prohibited ( and yet I am using add image to post button bellow )
View user's profileFind all posts by cdmanSend private message
Problem using SSH/SFTP account for accessing AWS EC2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic