ssh_config/tools/test.ps1

10 lines
330 B
PowerShell

# Test
Get-Service -Name sshd
Get-Service -Name ssh-agent
Get-WindowsCapability -Online | ? Name -like OpenSSH.Client*
Get-WindowsCapability -Online | ? Name -like OpenSSH.Server*
ssh-add -l
cat C:\ProgramData\ssh\administrators_authorized_keys
cat C:\ProgramData\ssh\client_config
cat C:\ProgramData\ssh\sshd_config
ssh localhost