• When .ssh folder is not created already on server, you need to create folder and change permission with below commands-

    mkdir ~/.ssh chmod 640 ~/.ssh

    now you can create authorized_key file to copy public key on remote linux server.

  • You can add a comment in "Key comment" box to make the more identical.

  • When using sshkey authentication to access internal systems (e.g. through a bastion host) "Allow agent forwarding" must be enabled within the authentication parameters.

  • Hi, I can do a one-time key-based authentication using the above steps but if I quit putty and try to login again, I need to redo all the steps again. how do I make this update global ? also I want superputty to be able to do key-based auth.

  • @hprof After to import file .ppk return session and click button save

  • Server refused our key

    I'm asked "login as". Why would openssh ask for a username if i'm using cryptographic certificates to login ? Also, i'm looking for a solution where the server requires a cryptographic key to login in order to deny brute forcing login attempts through port 22.

  • hi thanks for this tut but i have problem when i use Private key in putty i get Server refused our key

    service ssh status ==> https://ibb.co/bKqWK7

    putty ==>> https://ibb.co/fm6hRn

    iptable ==>> https://ibb.co/dX2iXS

    ufw ==> https://ibb.co/b9XBK7

    ubuntu ip ==>

    windows ip ==>

    share my wifi from ubuntu to windows

  • @jack and @madskr1, are the permissons on your .ssh directory and the authorized_keys file set correct? .ssh needs to be set to 700 and authorized_keys to 600.

Log In, Add a Comment