Hi folks, umm, I have a small problem. When setting up our server, I tried to get the best security as possible. Maybe I changed some config-file to fit our needs to allow ssh-logins only from specified users.(But I have no idea which file this was :-(( ) Now I want to allow another user to login using ssh. I made ssh-keygen for this user, entered the password, copied identity.pub to authorized_keys in the .ssh-directory. But when trying to login via ssh, servers sends permission denied. What else must be done ? TIA ---Stephan
Make sure the ~user/.ssh/authorized_keys is fully accessible for the user. Upon login, sshd checks file permissions and opens files with the effective userid set to that of the user to be logged on. The -EPERM might be a result from not having changed the ownership of the relevant files and directories after copying. Also make sure that no file/dir is writeable for users other than the owner. Use `ssh -v' to get verbose diagnostics. This will reveal the problem in most cases. Roman. -- _ _ | Roman Drahtmüller "Caution: Cape does not | CC University of Freiburg enable user to fly." | email: draht@uni-freiburg.de (Batman Costume warning label) | - - People often find it easier to be a result of the past than a cause of the future.