...
- Use the AWS console to create a new SSH key named SageKeyPair
- Download it to your home directory
~/.ssh
on the shared servers - Fix the permissions on it
Code Block chmod 600 ~/.ssh/SageKeyPair.pem
Configure S3
...
- ssh to belltown
- Create the configuration file for
s3curl
command line toolCode Block ~>cat .ssh/s3curl #!/bin/perl %awsSecretAccessKeys = ( YourUnixUsername => { id => 'YourAccessKeyID', key => 'YourSecretAccessKey', }, );
- Make a symlink to it in your home directory
Code Block ln -s ~/.ssh/s3curl ~/.s3curl
- Test that you can run s3curl
Code Block ~>/work/platform/bin/s3curl.pl --id $USER https://s3.amazonaws.com/sagebio-$USER/ | head -c 200 <?xml version="1.0" encoding="UTF-8"?> <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>sagetestemr</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>
...