The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Host key unknown. Trust this host?

Discussion in 'Security' started by zylstra, Sep 9, 2016.

Tags:
  1. zylstra

    zylstra Member

    Joined:
    Dec 21, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    When I attempt to log in to my server via Filezilla FTP I get an "Unknown host key" dialogue box that displays an alphanumeric "fingerprint" string. How do I view this fingerprint via WHM or cPanel so I can determine whether to trust this host?
     
  2. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    383
    Likes Received:
    7
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    A quick way to do this is to simply

    Code:
    ssh localhost
    from an SSH session.

    You should get something like:

    [root@server ~]# ssh localhost
    The authenticity of host 'localhost ::1' can't be established. RSA key fingerprint is 5f:aa:67:a1:30:03:10:28:cc:aa:3f:7f:06:d0:1e:ee.
    Are you sure you want to continue connecting (yes/no)? no

    You can also type in:
    Code:
    # ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key
    which should also give you the same result.

    The key should match the one which appears when you click the Lock icon in Filezilla, when connected to your server.
     
    #2 ruzbehraja, Sep 12, 2016
    Last edited: Sep 12, 2016
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page