Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
6aa8bb67
Commit
6aa8bb67
authored
Feb 25, 2015
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use Write-Output
parent
ff585fb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/openssh.ps1
scripts/openssh.ps1
+1
-1
No files found.
scripts/openssh.ps1
View file @
6aa8bb67
...
...
@@ -50,7 +50,7 @@ $sshd_config = $sshd_config -replace 'Banner /etc/banner.txt', '#Banner /etc/ban
$sshd_config
=
$sshd_config
-replace
'Port 2222'
,
"Port 22"
Set-Content
"C:\Program Files\OpenSSH\etc\sshd_config"
$sshd_config
Write-
Hos
t
"Removing ed25519 key as Vagrant net-ssh 2.9.1 does not support it"
Write-
Outpu
t
"Removing ed25519 key as Vagrant net-ssh 2.9.1 does not support it"
Remove-Item
-Force
-ErrorAction
SilentlyContinue
"C:\Program Files\OpenSSH\etc\ssh_host_ed25519_key"
Remove-Item
-Force
-ErrorAction
SilentlyContinue
"C:\Program Files\OpenSSH\etc\ssh_host_ed25519_key.pub"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment