SSH Access Issues

Aldo Foot lunixer at gmail.com
Wed Oct 8 20:40:46 UTC 2008


On Wed, Oct 8, 2008 at 9:27 AM, Jonathan Allen
<jonathan at barumtrading.co.uk> wrote:
> Hi List,
>
> I have several F8 and F9 boxes in an internal network.  I can ssh between
> them all happily as root, but not as individual other users.  After prompting
> me for a password, it says: Permission denied.  In /etc/ssh/sshd_config
> I have the lines:
>
>   PasswordAuthentication yes
>   ChallengeResponseAuthentication no
>   UsePAM yes
>   X11Forwarding yes
>
> but I can't seem to move forward.  Any ideas?
>
> Jonathan
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

I'll follow up on a previous post regarding file permissions.
If your sshd_config has a line that says StrictModes=yes, then
the file permissions are checked.

$HOME/.ssh should be perms 700.
   > chmod 700 $HOME/.ssh
Files inside the above dir should be perms 600.
   > chmod 600 $HOME/.ssh/*

the permissions need to be applied to every user's $HOME/.ssh.
and of course the user should be the owner of his own .ssh dir and its contents.
~af




More information about the fedora-list mailing list