Find the answer to your Linux question:
Results 1 to 10 of 10
i had a rsa public key that i use to connect to my server with him. now all i wanted is to remove it . i dont want any keys ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    Need your help please (SSH)

    i had a rsa public key that i use to connect to my server with him.
    now all i wanted is to remove it . i dont want any keys for enter to my server .
    i deleted the line from the .ssh/authorized_keys
    and still i cannot login with my password to my root , i can only connect to another user and then su root and it's working ..
    i tried everything that i know , i dont get it . !!!@@

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    check if root account is disabled for ssh
    enable root login, in /etc/ssh/ssh_config
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Hello,

    I think it is actually a smart thing to leave the direct login for root disabled on servers.

    That said, you need to set the PermitRootLogin option in the /etc/sshd_config file.
    Debian GNU/Linux -- You know you want it.

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    title

    i cant disable root login because i need that some application that i work with will have access to my root account so i need to take of my rsa key ...
    is there a way to give to another user all the permissions like a root account ???

  5. #5
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    only root can add user permissions/ edit the sudoers file..
    if you have physical access to the PC, you can boot up in run level 1
    but as you are saying i guess you have have physical access?
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  6. #6
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    it cannot be that complicated

    it cannot be that complicated to take off my keys back a regular ssh access with no keys only password protection ..

  7. #7
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    SSH is Secured Shell, so it should use keys, and encryption..
    if you dont want it.. go for telent
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  8. #8
    Just Joined!
    Join Date
    Oct 2008
    Location
    Baton Rouge, LA
    Posts
    37
    Quote Originally Posted by b2bwild View Post
    SSH is Secured Shell, so it should use keys, and encryption..
    if you dont want it.. go for telent
    exactly. telnet doesn't require the keys so that is always a choice. although not a secure choice at all. and as far as the direct root login, i would suggest logging in as another user and possibly using "sudo". with "sudo" you can execute any commands that root can as long as the user issuing the command is configured to do so. and using telnet and logging in directly as root just is not a smart move security wise.

  9. #9
    Just Joined!
    Join Date
    Nov 2008
    Posts
    4

    ???

    ssh is secure shell cause its encrypted telnet is not ..
    who use telnet ?? ?? it's a server not a router ..
    every linux server in the world use ssh with or without keys its not a big problem .

  10. #10
    Linux User
    Join Date
    Jun 2007
    Posts
    318
    As others have mentioned, have you checked the PermitRootLogin option in /etc/ssh/sshd_config? Is it set to Yes?

Posting Permissions

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