Join the community today
Become a Member

Install ssh keys issue

Discussion in 'Install & Upgrades or Pre-Install Questions' started by dooma, Jul 3, 2017.

  1. dooma

    dooma Member

    226
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    5:42 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.08stable
    Hello, I back :)

    I installed my server with linode and I secured it with ssh keys and not permitting the root login and the password authentication in sshd file. and everything was working fine. once I installed centminmod It refused the ssh key as you see in the attached image then I log in the lish and allowed root login but the same problem. so how can you help me ?

    please check attached :)

    Thanks
     

    Attached Files:

  2. eva2000

    eva2000 Administrator Staff Member

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Is your ISP ip address the same one used to initial install centmin mod as the IP used to SSH in after centmin mod installed ?

    You need to change your SSH client authentication methods

    what do you have for these 3 settings areas ?

    putty-kex.png
    putty-hostkeys.png
    putty-ciphers.png

    and Putty uses ssh keys that are not OpenSSH server supported format see
    though if you could connect before centmin mod install, then it probably isn't that but the OpenSSH server authentication method your Putty SSH client is using isn't supported post centmin mod install as Centmin Mod 123.08stable might have some missing improvements compared to 123.09beta01 on SSH configuration support.
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Also try installing centmin mod first and then setting up ssh keys

    Do you get same problem if you install Centmin Mod 123.09beta01 ?
     
    Last edited: Jul 3, 2017
  4. dooma

    dooma Member

    226
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    5:42 AM
    I will try to install it first then configure the ssh keys... which version of centminmod do you suggest to use ?

    Thanks
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    123.09beta01 is best has more fixes and improvements :)
     
  6. dooma

    dooma Member

    226
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    5:42 AM
    hello,

    now I installed the beta version that u recommended. Where can I add my public ssh key at /home/username(that will be used)/.ssh/authorized_keys ?? ?

    then chmod for .ssh 700 and authorized_keys 600 ???

    Thanks
     
  7. dooma

    dooma Member

    226
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    5:42 AM
    I did what I said above and it is working fine now :)
     
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    Glad to hear so centmin mod install first, then ssh key setup :)
     
    • Like Like x 1
  9. dooma

    dooma Member

    226
    22
    18
    Oct 15, 2016
    Cairo
    Ratings:
    +27
    Local Time:
    5:42 AM
    yes. thanks for your recommendations. :)

    do you remember me @eva2000 , I joined here six months ago while I was beginner :). now more advanced but still have a lot of questions :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,157
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1