Permalink
Browse files

Simplify regenerating SSH keys

  • Loading branch information...
1 parent d578ec8 commit de14bb48106225295f04a214e913092da58bb753 @aroben committed Jul 11, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bootstrap-startup.ps1
View
@@ -3,8 +3,7 @@ $ErrorActionPreference = "Stop"
function Start-Sshd {
# First we generate new keys in case we're launching on a new VM.
- Remove-Item C:\cygwin\etc\ssh_host*_key*
- C:\cygwin\bin\bash.exe --login -- /usr/bin/ssh-host-config --no
+ C:\cygwin\bin\bash.exe --login -- /usr/bin/ssh-host-config --yes
Set-Service sshd -StartupType Automatic
net start sshd

0 comments on commit de14bb4

Please sign in to comment.