Last active
May 2, 2019 02:43
-
-
Save bluerid/e3e087e2694a483be83369d7e4510ed8 to your computer and use it in GitHub Desktop.
Install and Setup SSHFS with AWS EC2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install | |
sudo apt-get install sshfs | |
#Setup SSHFS with local folder | |
sudo sshfs ubuntu@34.236.201.31:/path/to/remote/ec2_folder /user_home_folder/local_ec2s/ec2_sh1 -o IdentityFile=~/Path/to/ssh-key.pem -o allow_other |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
sudo sshfs ubuntu@ec2-××-××-××-×××.us-east-2.compute.amazonaws.com:/var/www/html/remote_folder/ /home/user_dir/remote_ec2s/local-folder -o IdentityFile=/home/user_dir/certs/×××-×××-i.pem -o allow_other