LoginSignup
5
5

More than 5 years have passed since last update.

Win32-OpenSSH Note

Last updated at Posted at 2016-01-07

Install

see https://github.com/PowerShell/Win32-OpenSSH/wiki/Deploy-Win32-OpenSSH

What is install-sshlsa.ps1

Copy ssh-lsa.dll to system32 folder.
ssh-lsa.dll hooked by Security Accounts Manager Service.
This dll for key-auth.

So, when uninstall or update this file, you have to rename this file at 1st. And you must reboot to apply new dll.

Use PowerShell

> powershell -File -

SCP ready?

No, use SFTP
https://github.com/PowerShell/Win32-OpenSSH/wiki/sftp.exe-examples

autorized_keys?

//Users/[login-user]/.ssh/authorized_keys

setup terminal

iterm2

Preferences.png

Preferences_と_2__imaoka_imaoka1_local__zsh_.png

new-lines issue

Fixed ? @ ver 4_5_2016
https://github.com/PowerShell/Win32-OpenSSH/releases/tag/4_5_2016

WA for backslash '\' issue

It is caused by terminal & keyboard.
Iterm2 setting, \ => Send-Text \

Preferences_と_1__imaoka_imaoka1_local__zsh_.png

Security Log

see Event-Viewer Security -> Audit Success (Process Infomation: Process Name: xxxx\sshd.exe)

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5