amazon-guardduty-tester icon indicating copy to clipboard operation
amazon-guardduty-tester copied to clipboard

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

Open mlaruskiaws opened this issue 3 years ago • 0 comments

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 <IP> : 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

mlaruskiaws avatar Jan 14 '22 23:01 mlaruskiaws