- Install
rmate
on the remote server
sudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate && sudo chmod a+rx /usr/local/bin/rsub
- Modify your
~/.ssh/config
file on your local machine
Host *
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
rmate
on the remote serversudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate && sudo chmod a+rx /usr/local/bin/rsub
~/.ssh/config
file on your local machineHost *
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
variable "bucket_name" { | |
default = "max-bucket-for-testing" | |
} | |
provider "aws" { | |
region = var.aws_region | |
profile = var.aws_profile | |
} | |
resource "aws_s3_bucket" "artifacts" { |
#you have to put this in $profile or $profile.currentuserallhosts | |
$esc = [char]27 | |
if($env:WT_SESSION){ | |
$prevprompt = $Function:prompt | |
function prompt { | |
if ($pwd.provider.name -eq "FileSystem") { | |
$p = $pwd.ProviderPath | |
Write-host "$esc]9;9;`"$p`"$esc\" -NoNewline | |
} |