SSH Mac donesn´t work

  • Hi


    I triy to connect my Mac with my OMV by SSH, but I can´t it.
    I follow this guide: [GUIDE] Enable SSH with Public Key Authentication (Securing remote webUI access to OMV)


    I´ve created the ky by ssh-keygen -t rsa and the answer is

    Mac-Pro-de-Luis:~ Luis$ ssh-keygen -t rsa




    Generating public/private rsa key pair.




    Enter file in which to save the key (/Users/Luis/.ssh/id_rsa):




    /Users/Luis/.ssh/id_rsa already exists.




    Overwrite (y/n)? y




    Enter passphrase (empty for no passphrase):




    Enter same passphrase again:




    Your identification has been saved in /Users/Luis/.ssh/id_rsa.




    Your public key has been saved in /Users/Luis/.ssh/id_rsa.pub.




    The key fingerprint is:


    I haven´t written the image by security.
    Later, I don´t know if I need to do more things in my Mac, but I try to connect by root and It happend this

    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!




    Someone could be eavesdropping on you right now (man-in-the-middle attack)!




    It is also possible that a host key has just been changed.




    The fingerprint for the RSA key sent by the remote host is




    security




    Please contact your system administrator.




    Add correct host key in /Users/Luis/.ssh/known_hosts to get rid of this message.




    Offending RSA key in /Users/Luis/.ssh/known_hosts:1




    RSA host key for nas-luis.local. has changed and you have requested strict checking.




    Host key verification failed.


    Could anybody help me?


    Regards


  • Thanks, I´ve fixed half problem. I´ve removed all files and then I´ve created it agin by ssh-keygen -t rsa
    Now, it appears this when I try to connect:

    The authenticity of host 'nas-luis.local. (192.168.0.3)' can't be established.




    RSA key fingerprint is 6b:20:f3:42:8f:78:9a:75:0c:1e:04:fb:84:a4:dc:93.




    Are you sure you want to continue connecting (yes/no)? yes




    Warning: Permanently added 'nas-luis.local.,192.168.0.3' (RSA) to the list of known hosts.




    Permission denied (publickey).




    [Proceso completado]


    And I try again ...

    Permission denied (publickey).




    [Proceso completado]
  • I try to use this for export the public key

    Mac-Pro-de-Luis:/ Luis$ ssh-keygen -e -f /home/Luis/.ssh/id_rsa.pub




    ssh-keygen: /home/Luis/.ssh/id_rsa.pub: No such file or directory


    And it doesnt work.... what happened?


    And another question.... I dont have root user on the interface.... The first time I´ve installed OMV I could access by ssh with root user....

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!