Skip to content

Commit e13e3b5

Browse files
Fix(windows): remove space character (#16)
1 parent 392ada8 commit e13e3b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ec2-instance-connect/aws-ssm-ec2-proxy-command.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Add following SSH Config Entry to ~/.ssh/config
1414
# host i-* mi-*
1515
# IdentityFile ~/.ssh/id_rsa
16-
# ProxyCommand powershell .exe ~/.ssh/aws-ssm-ec2-proxy-command.ps1 %h %r %p ~/.ssh/id_rsa.pub
16+
# ProxyCommand powershell.exe ~/.ssh/aws-ssm-ec2-proxy-command.ps1 %h %r %p ~/.ssh/id_rsa.pub
1717
# StrictHostKeyChecking no
1818
#
1919
# Ensure SSM Permissions for Target Instance Profile
@@ -67,4 +67,4 @@ aws ssm start-session `
6767
--target "$ec2_instance_id" `
6868
--document-name 'AWS-StartSSHSession' `
6969
--parameters "portNumber=$ssh_port"
70-
if($LASTEXITCODE -ne 0) { Write-Error "Failed to start ssm session to instance $ec2_instance_id" }
70+
if($LASTEXITCODE -ne 0) { Write-Error "Failed to start ssm session to instance $ec2_instance_id" }

0 commit comments

Comments
 (0)