File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 " }
You can’t perform that action at this time.
0 commit comments