Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 776 Bytes

AWS.md

File metadata and controls

25 lines (20 loc) · 776 Bytes

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

  1. Delete the objects older than
image
  1. Add a marker to delete mark objects
image