V50 authomatic ssh with public key

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #768
    ap
    Member
    • Total Post: 5
    • Newbie

    Hi,

    I’m trying create an ssh connection on my wyse V50 using the public key that was provided with the system. I copied the public key to the .ssh/authorized_keys2 file of the computer I want to ssh.

    Every time I try to ssh to the remote computer it gives me a popup that says “The authenticity of host xxx.xxx.xxx.xxx can’t be established . RSA key fingerprint is xx:xx:xx:xx: are you sure you want to continue connecting(yes/no)” after click yes, then I get a pop up asking me for the password.

    I don’t have any user set up, and my default guest user has high privileges.

    I can’t figure out what I’m missing, I have this authentication set up in all my regular linux boxes and works like a charm.

    Thanks

    #10934
    ap
    Member
    • Total Post: 5
    • Newbie

    OK, I solved my problem. In case this helps to anybody else here it goes:

    After you ssh to the terminal do a sudo su and then su user. cd to /home/root and the ssh-keygen.

    The problem I was having is that the default user’s home is also root’s. So the keys need to be generated as user in order to have the right permissions.

    I hope this helps somebody else.
    🙂

    #10939
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Great info.
    Thanks for that.

    Cheers
    ConfGen

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.