aws ssh
~/.ssh/config
Host bastion
HostName {Elastic IP Address of Bastion}
User ec2-user
IdentityFile ~/.ssh/{your-ssh-key.pem}
Host tester
ForwardAgent yes
HostName {Local IP Address of RedTeam Instance}
User ec2-user
IdentityFile ~/.ssh/{your-ssh-key.pem}
ProxyCommand ssh bastion nc %h %p
ServerAliveInterval 240
aws s3 delete objects, create 2 lifecycles
- Delete the objects older than
- Add a marker to delete mark objects