Windows 10: How to : use scp to append public key from linuxclient to windows server with openssh...

Discus and support How to : use scp to append public key from linuxclient to windows server with openssh... in Windows 10 Network and Sharing to solve the problem; I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following... Discussion in 'Windows 10 Network and Sharing' started by ZilchBloke, Apr 19, 2023.

  1. How to : use scp to append public key from linuxclient to windows server with openssh...


    I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux client to windows server: `scp ~/.ssh/public_key.pub windowsUser@windowsMachine:__PROGRAMDATA__/ssh/`2. ssh into windows server and check if there is `administrators_authorized_keys` file present in `C:\PROGRAMDATA\SSH\` If not, Create: `New-Item -Force -Path c:\PROGRAMDATA\ssh\administrators_authori

    :)
     
    ZilchBloke, Apr 19, 2023
    #1
  2. h wang Win User

    Help setting up public key authentication for windows 10 beta openssh server and client

    I have a openssh server and client set up through the beta features on windows 10, and I trying to setup public key authentication for them. But I can't seem to get this to work as it continues to ask for a password, did anyone successfully set this up?

    -------------------

    If you were wondering, this is what tried.

    -client

    -server

    created a txt file called authorized_keys, and copied the contents of id_ed25519.pub into it.

    Code:
    But both ssh user1@serverip or ssh -i C:\Users\user1\.ssh\id_ed25519 user1@serverip still
     asks for a password.--------------Thanks for any help
     
    h wang, Apr 19, 2023
    #2
  3. Dave Win User
    Logging into Windows 10 OpenSSH server with Administrator account and public key

    I am unable to log into a Windows 10 OpenSSH Server from a CentOS OpenSSH client via public key. My password is always requested (and is accepted).

    I've found many posts about setting the permissions properly on the server side for:

    • Directory C:\Users\username\.ssh
    • File C:\Users\username\.ssh\authorized_keys

    I believe I've done everything required in terms of permissions. But to rule a permissions problem out, I set StrictModes=no on the server as a test and restarted the server. I found that I still must enter my password.

    What else might be preventing me from logging in via public key?
     
  4. Brink Win User

    How to : use scp to append public key from linuxclient to windows server with openssh...

    Windows Server 2019 Includes OpenSSH

    Source: Windows Server 2019 Includes OpenSSH - Windows Developer Blog
     
    Brink, Apr 19, 2023
    #4
Thema:

How to : use scp to append public key from linuxclient to windows server with openssh...

Loading...
  1. How to : use scp to append public key from linuxclient to windows server with openssh... - Similar Threads - scp append public

  2. OpenSSH - how to make scp use certificates from ssh-agent

    in Windows 10 Gaming
    OpenSSH - how to make scp use certificates from ssh-agent: Hello. I am using OpenSSH on Windows 11.We are using private key/certificate based authentication not public/private key auth. In Powershell we can use the ssh-add command to add an issued certificate to ssh-agent. For background information we have an issuing authority which...
  3. OpenSSH - how to make scp use certificates from ssh-agent

    in Windows 10 Software and Apps
    OpenSSH - how to make scp use certificates from ssh-agent: Hello. I am using OpenSSH on Windows 11.We are using private key/certificate based authentication not public/private key auth. In Powershell we can use the ssh-add command to add an issued certificate to ssh-agent. For background information we have an issuing authority which...
  4. How to : use scp to append public key from linuxclient to windows server with openssh...

    in Windows 10 Gaming
    How to : use scp to append public key from linuxclient to windows server with openssh...: I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux...
  5. How to : use scp to append public key from linuxclient to windows server with openssh...

    in Windows 10 Software and Apps
    How to : use scp to append public key from linuxclient to windows server with openssh...: I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux...
  6. how to use openssh

    in Windows 10 Gaming
    how to use openssh: how to use openssh step by step process https://answers.microsoft.com/en-us/windows/forum/all/how-to-use-openssh/c39893b9-20dc-42a9-9a65-486aed388d22
  7. how to use openssh

    in Windows 10 Software and Apps
    how to use openssh: how to use openssh step by step process https://answers.microsoft.com/en-us/windows/forum/all/how-to-use-openssh/c39893b9-20dc-42a9-9a65-486aed388d22
  8. [SOLVED] OpenSSH Server on Windows 10, using key instead of password with an Administrator...

    in Windows 10 Network and Sharing
    [SOLVED] OpenSSH Server on Windows 10, using key instead of password with an Administrator...: So I am past the point of getting OpenSSH server to run. I have disabled password ssh login and only use keys. Public key is in c:/Users/user/.ssh/authorized_keys. It's already running, and I can connect remotely to a non-administrator user on the Windows machine with a key....
  9. OpenSSH Server on Windows 10, using key instead of password with an Administrator account.

    in Windows 10 Network and Sharing
    OpenSSH Server on Windows 10, using key instead of password with an Administrator account.: So I am past the point of getting OpenSSH server to run. I have disabled password ssh login and only use keys. Public key is in c:/Users/user/.ssh/authorized_keys. It's already running, and I can connect remotely to a non-administrator user on the Windows machine with a key....
  10. OpenSSH Server / client on W2K16 server

    in Windows 10 Virtualization
    OpenSSH Server / client on W2K16 server: Hi there running a W2K16 server as a VM - seems the the optional features install don't include the openSSH server or client -- I'm using the Desktop experience standard edition of W2K16 server However using the powershell command from within the VM both products get...