Re: trying to use keys...been asked a bunch, didn't find many solutio ns

From: Brian Hatch (secure-shell_at_ifokr.org)
Date: 06/24/03

  • Next message: Ben Lindstrom: "Re: AW: sftponly"
    Date: Tue, 24 Jun 2003 10:28:49 -0700
    To: Gabriel Mino <gmino@pcsltd.com>
    
    
    

    > debug3: Not a RSA1 key file /usr/local/etc/ssh_host_rsa_key.

    This isn't good.

    > Disabling protocol version 1. Could not load host key

    This is probably OK, if you don't need protocol 1.

    > debug3: secure_filename: checking '/.ssh'
    > debug3: secure_filename: checking '/'
    > Authentication refused: bad ownership or modes for directory /

    Root's home dir is '/', and '/' is writeable by someone aside
    from root. This is bad - you probably have group write perms
    on '/', or worse yet you have other write perms on '/'. Fix
    this for the health of ssh and your system in general.

    --
    Brian Hatch                  "Zathras understand.
       Systems and                No, Zathras not understand,
       Security Engineer          but Zathras do."
    http://www.ifokr.org/bri/
    Every message PGP signed
    
    



  • Next message: Ben Lindstrom: "Re: AW: sftponly"

    Relevant Pages

    • NTFS Security Question.
      ... I have set NTFS perms on the Root of my system volume to EVERYONE: Deny ...
      (microsoft.public.windowsxp.security_admin)
    • Re: 2 sftp questions
      ... > I got sftp working, ... I happenned to be in root. ... ftp is an entirely different protocol from sftp. ... you shouldn't need anything specific to that protocol. ...
      (Fedora)
    • Re: Access rights
      ... If perms on the home dir don't include user execute, ... once as root; then again as a regular user. ... I am guessing not and that the ...
      (alt.os.linux)
    • why can I write to a file I dont own??
      ... servers and all produce the same results. ... perms: 644 and it is owner and group are root:root. ... # echo "test from root"> test.fil ...
      (RedHat)
    • Re: When I try to save html pages, nothing happens
      ... Reading changelogs... ... what are the perms of /var itself and its subdirs? ... anything under /var/tmp should be owned by root, ...
      (Debian-User)