- [local] -> [admin] -> [prod]
- [admin] -> [prod] の鍵は事前に配置済み
$HOME/.ssh/config
で設定- 踏み台サーバ(admin)、目的のサーバ(prod) どちらにも鍵認証でログイン
$HOME/.ssh/config
だけだと実行終了時のDONE
で固まる
/* | |
* Genarate rsa keys. | |
*/ | |
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" |
# | |
# 数字 | |
# | |
# 全て数値(全角) | |
/\A[0-9]+\z/ | |
# 全て数値(半角) | |
/\A[0-9]+\z/ |
#import <Foundation/Foundation.h> | |
extern NSString * const kSDSyncEngineDownloadCompleteNotification; | |
extern NSString * const kSDSyncEngineSyncCompletedNotificationName; | |
typedef enum { | |
ObjectSynced = 0, | |
} ObjectSyncStatus; | |
//Thanks to |
更新: | 2013-12-08 |
---|---|
バージョン: | 0.1.8 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
概要
#!/usr/bin/env python | |
"""Split large file into multiple pieces for upload to S3. | |
S3 only supports 5Gb files for uploading directly, so for larger CloudBioLinux | |
box images we need to use boto's multipart file support. | |
This parallelizes the task over available cores using multiprocessing. | |
Usage: | |
s3_multipart_upload.py <file_to_transfer> <bucket_name> [<s3_key_name>] |