awslabs / amazon-guardduty-tester

This repository can be used to generate and evaluate findings detected by Amazon GuardDuty
Apache License 2.0
338 stars 130 forks source link

Modify ProxyCommand to no longer use NetCat for proxied access to tester host #19

Closed mlaruskiaws closed 1 year ago

mlaruskiaws commented 2 years ago

Instructions in README.md require use of NetCat with ProxyCommand ("ProxyCommand ssh bastion nc %h %p") this no longer works on the bastion host and results in an error.

[bash: nc  : command not found kex_exchange_identification: Connection closed by remote host]

Instead, use the -W switch with OpenSSH ("ProxyCommand ssh -W %h:%p bastion").

For more information: https://unix.stackexchange.com/questions/317491/proxycommand-use-for-multiple-hops-and-prompt-authentication

scottbward commented 1 year ago

Closing this issue as this change has been made in the README. Thanks for your input.