Public Repository

Last pushed: a year ago
Short Description
Ansible ssh with ec2-user
Full Description

docker run -it -p 8080:80 -p 8081:443 --name <container_name> thiagoalves95/ansible-ssh /bin/bash

docker inspect <container_name> | grep IP

ssh -i <chave> ec2-user@<IP>

Key:
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA5fyO3w0Amxun2MPEKfAefmrHPi3MW1VjBEALZ39H0YBJWhT4
z/bxST/FJzR9U9nXJnor6dgIrxUOTsNejokJPcTLa0ogMoo+PR8GNbsrVDclo5kP
6ThWdl8Zna4gy0cmDDnVKUjqDrPYFZrxkUUP64H5MDIoxgWAneoMpgpXG6dUs91q
BJk313K6nhrt8+zVf3e7itJ5FxSEvuOd22/dFS9TAtrQq69mSJZN1JHC6aJVbpUJ
KVhqPA/7kyQU5Gh4poLeoVLnhm44QvVN255qBl2cni9EDt+c3SS+s4faQ+XRhhdE
wOIk3dwtI9NnclmS8OGPwEKJT5O7T2YdtPBS5wIBIwKCAQEAkJAfSl/xwJUKav61
0TfYpzvNsg4ornAvnEWDguJKZm3k9stakVlkdy9l+2LSbzh4m9fD1NDvg/6bR3N9
Q6aYGDKOffQUPQZwQ60Z2KGI8xtZfMacSXPek4w7/LaYRUKqM5IQ9WEIJn+sZVoU
L209NPKcofOkmbpQ2En5UmzmS+RUknAdCwMer2G1ThSEv0gIAwjgg5h22ymg+bX0
A4Azoyu+Y5xhMzUEglwI/9aZFhzBIrwvvG+vS9BKyPwwJoPTbM4hpkGolRmYfalg
InaWCmk/cFDO61lbKTuBUuLq/5NsOmlX5MJvV/jNGC+3wAWel7C82i8Xa3sWUX1x
hy+XawKBgQD4hivQhfCt7HH9/dEC0WxzvDoTxm6yk+GU6tXWEsGfyDlL8OIzTU9O
emxD37yYu07qZM9w6yxgvCNQ2qUIQFB6WzREieZMtCJQHd9g7g9V6m7WByT0WBYE
yhTfj2LKRKt+RmklhQjRgx6yMVHsIUI6cPNaIxez4VNfvzekEk52CQKBgQDs56Il
eMZ8AogzdY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