Find the answer to your Linux question:
Results 1 to 2 of 2
I did chmod -R g=rwx on /bin , /sbin now I can not connect to the machine using root through telnet, ssh, scp, rsh or any means. please help...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    Did chmod -R g=rwx on /bin and /sbin

    I did chmod -R g=rwx on /bin , /sbin


    now I can not connect to the machine using root through telnet, ssh, scp, rsh or any means.

    please help

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    2
    I think I have to reset default permissions

    i got the following

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    Permissions 0670 for '/etc/ssh/ssh_host_rsa_key' are too open.
    It is recommended that your private key files are NOT accessible by others.
    This private key will be ignored.
    bad permissions: ignore key: /etc/ssh/ssh_host_rsa_key
    Could not load host key: /etc/ssh/ssh_host_rsa_key
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    Permissions 0670 for '/etc/ssh/ssh_host_dsa_key' are too open.
    It is recommended that your private key files are NOT accessible by others.
    This private key will be ignored.
    bad permissions: ignore key: /etc/ssh/ssh_host_dsa_key
    Could not load host key: /etc/ssh/ssh_host_dsa_key
    Disabling protocol version 2. Could not load host key
    sshd: no hostkeys available -- exiting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...