Skip to content

Instantly share code, notes, and snippets.

ssh -A Bastion
ssh -A <user-name@internal-instance-internal-ip>
Host Bastion
Hostname x.x.x.x
User Ubuntu
Host Instance
Hostname x.x.x.x
User Ubuntu
ProxyCommand ssh -W %h:%p Bastion
ssh -A Instance
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get install automake autotools-dev fuse g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure --prefix=/usr --with-openssl
make
sudo make install
which s3fs
sudo nano /etc/passwd-s3fs