[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SSH Access Issues



On Wed, Oct 8, 2008 at 9:27 AM, Jonathan Allen
<jonathan 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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]