Re: SSH and home directory permissions

From: Joe Robertson (moebius_at_transit.bitstream.net)
Date: 07/18/03

  • Next message: Ryan.Kish_at_i-structure.com: "RE: AIX 5.2 w/ password expiration patch"
    Date: Fri, 18 Jul 2003 15:45:45 -0500
    To: "Young, Randy" <RWYoung@verisign.com>
    
    

    I have seen similar problems with openssh. I have a homedir that I want to be 775 (700 on the .ssh dir) that I can't get authorized_keys to work unless the homedir is 755. I haven't looked too hard for override knobs, but it would be nice to find nonetheless.

    Joe

    On Fri, Jul 18, 2003 at 11:57:57AM -0700, Young, Randy wrote:

    > It's really the .ssh directory under home which is critical on permissions. Make sure that is maximum of 755.
    >
    > Randy
    >
    > -----Original Message-----
    > From: Richard Sabag [mailto:richard.sabag@abnamro.com]
    > Sent: Friday, July 18, 2003 8:15 AM
    > To: secureshell@securityfocus.com
    > Subject: SSH and home directory permissions
    >
    >
    >
    >
    > Folks,
    >
    > I'm having a problem using SSH with keys from Unix to Unix. If the home
    > directory has 777 permissions then "ssh" will not work. If I change them
    > to 755 it will work. It's easy enough to change them to 755 permissions
    > but when you have a home directory that is a link (777) there is a
    > problem.
    >
    > Any suggessions would be appreciated
    >
    > Thanks


  • Next message: Ryan.Kish_at_i-structure.com: "RE: AIX 5.2 w/ password expiration patch"

    Relevant Pages

    • Re: SSH multi users multi machines
      ... >> We have 20 Linux boxes in our office in the Operations area. ... >> SSH configuration. ... > I don't see why you couldn't setup the home directory for all users on 1 ... But I do NOT store my private keys on ...
      (comp.os.linux.misc)
    • Re: problems wit fopen
      ... valid pointer if successful or a null pointer if not. ... in your working directory, which is legal in Unix but rare and silly, ... If you really want the user's home directory, ...
      (comp.lang.c.moderated)
    • RE: SSH and home directory permissions
      ... It's really the .ssh directory under home which is critical on permissions. ... SSH and home directory permissions ... I'm having a problem using SSH with keys from Unix to Unix. ...
      (SSH)
    • Re: file command bug on windows
      ... I agree that every user has a valid home directory. ... Windows the user's home ... directories are not referred to with a leading tilde symbol. ... You should realize that tilde is also 'just another symbol' on UNIX as ...
      (comp.lang.tcl)
    • Re: [opensuse] fstab: umount as user
      ... same home directory, and it was all quite seamless. ... into pee cees, the samba home directories were accessible as network ... DEC/IBM/shop with a limited UNIX presence for some ...
      (SuSE)