On top of the already useful command set of this tool, I think it can be improved even further by adding a Port-Forwarding command.
Making use of the AWS-StartPortForwardingSession SSM Document we can start a Port-Forwarding session entirely over SSM (See here for an overview).
I have spiked this locally where I've added the fwd command. It prompts the user for the remote port to access and the local port to forward after selecting a target.
Ports can be specified before selecting a target too, using the -z and -l args.
I already have this written up and ready for a PR. Are there any objections to adding this to the existing command set?
On top of the already useful command set of this tool, I think it can be improved even further by adding a Port-Forwarding command.
Making use of the
AWS-StartPortForwardingSession
SSM Document we can start a Port-Forwarding session entirely over SSM (See here for an overview).I have spiked this locally where I've added the
fwd
command. It prompts the user for the remote port to access and the local port to forward after selecting a target.Ports can be specified before selecting a target too, using the -z and -l args.
I already have this written up and ready for a PR. Are there any objections to adding this to the existing command set?