How to : use scp to append public key from linux(client) to windows (server with openssh running) in C:\PROGRAMDATA\ssh\administrators_authorized_keys

  • Thread starter Thread starter ZilchBloke
  • Start date Start date
Z

ZilchBloke

Guest
I am trying to copy a client key from Linux(Ubuntu) to Windows server as an administrator user. so far i am able to achieve this by using following steps(1-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

Continue reading...
 
Back
Top