I’m trying to run the following command on Session Manager terminal
But I’m getting these errors
chmod 0600 ssh_host_ecdsa_key
chmod 0600 ssh_host_rsa_key
chmod 0640 ssh_host_ed25519_key
I tried sudo but getting something like this
sudo: effective uid is not 0, is sudo installed setuid root?
Current user is ssm-user but is there any way to apply these command using session manager only ?
Note: I’m not using standard ssh using gitbash since the server is currently having issue with ssh port. The only way to access the server is using session manager.