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
/* | |
This file is now hosted here: | |
https://github.com/victornpb/undiscord | |
*/ |
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
http://pl.atyp.us/wordpress/index.php/2009/09/file-transfer-fun/ | |
File Transfer Fun | |
17 September, 2009 8:32 am | |
I’ve written before about the extreme usefulness of sshfs for accessing files remotely without having to install server software. It continues to be an important part of my toolbox, as does its cousin CurlFtpFS which – unlike sshfs – I can even use to mount a directory here on my web host. Of course, either becomes even more useful when combined with some easy method of synchronization. You probably have rsync already. You can also use Unison if you need bidirectional synchronization – which you generally will if you’re trying to use a single directory somewhere as a “drop box” to share between multiple machines. | |
I just found another sshfs trick today. If the connection between your two machines is already secure – e.g. on the same private network or connected via a secure VPN/tunnel – you might want to avoid an extra round of encryption and decryption by using the “-o directport” option to sshfs. T |
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
#!/bin/bash | |
AWS_DEFAULT_REGION="ap-northeast-1" | |
AWS_ACCESS_KEY_ID="YOUR ACCESS KEY HERE" | |
AWS_SECRET_ACCESS_KEY="YOUR SECRET ACCESS KEY HERE" | |
INSTANCE_ID_URL="http://169.254.169.254/latest/meta-data/instance-id" | |
INSTANCE_ID=$(curl -s ${INSTANCE_ID_URL}) | |
SERVER_STATUS_URL="http://localhost/php-fpm-status" |