Then you are unable to connect to your ssh server with your PEM (or PPK) key with connection refused message check the /var/log/auth.log file.
If you see something similar to:
sshd: Authentication refused: bad ownership or modes for directory /Your/Home/Path
You have a home directory permission problem.
change to that user if not already one and execute:
chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
It will restore your permissions and you should be able to connect.
SiQ systems, Cloud experts
Friday, June 15, 2012
Fixing SSH Daemon - Authentication refused: bad ownership or modes for directory
Subscribe to: Post Comments (Atom)
solving error: Your current user or role does not have access to Kubernetes objects on this EKS cluster.
Trying to access EKS cluster with kubectl you might get an error similar to: Your current user or role does not have access to Kubernetes ob...
Following information is intended for bash shell only. The system variable TMOUT can be set to specify the amount of time the user is ina...
How to install PGPool II on PostgreSQL Servers in master-slave architecture + PGPoolAdmin web managmentGeneral Information PGPool can run on same server along with PostgreSQL DB or on stand alone server(recommended). In this article we wil...
Simple VPN server configuration for easy VPN access to AWS using built in Windows VPN client. First to install pptp server package. s...
after lot of search,
this post worked fine
Thank u so much , working fine
Post a Comment