Continue writing exercise 3.
This commit is contained in:
@ -77,14 +77,14 @@ scp -i disco_key disco_key ec2-user@$PREP_SYSTEM_IP:/home/ec2-user/disco_key
|
||||
To make life a bit easier down the track let's set an environment variable on the prep system so that we can preserve the bastion's IP:
|
||||
|
||||
```bash
|
||||
ssh -i disco_key ec2-user@$PREP_SYSTEM_IP
|
||||
echo HIGHSIDE_BASTION_IP=$(echo $HIGHSIDE_BASTION_IP) > highside.env
|
||||
ssh -i disco_key ec2-user@$PREP_SYSTEM_IP "echo HIGHSIDE_BASTION_IP=$(echo $HIGHSIDE_BASTION_IP) > highside.env"
|
||||
```
|
||||
|
||||
Finally - Let's now connect through to our **High side** bastion 🚀
|
||||
Finally - Let's now connect all the way through to our **High side** bastion 🚀
|
||||
|
||||
```bash
|
||||
ssh -i disco_key ec2-user@$HIGHSIDE_BASTION_IP
|
||||
ssh -t -i disco_key ec2-user@$PREP_SYSTEM_IP "ssh -t -i disco_key ec2-user@$HIGHSIDE_B
|
||||
ASTION_IP"
|
||||
```
|
||||
|
||||
<Zoom>
|
||||
|
||||
Reference in New Issue
Block a user