윈도우 설정

윈도우 ssh 서버 설정

wakira 2020. 5. 15. 16:07

$SSHDaemonSvc = Get-Service -Name ‘sshd’
Set-Service -Name $SSHDaemonSvc.Name -StartupType Automatic
Start-Service -Name $SSHDaemonSvc.Name

Get-Service sshd
Start-Service sshd
Stop-Service sshd
Restart-Service sshd