/playAWS

Primary LanguageShell

playAWS

Connect to CoreOS

sudo ssh -i '/Users/'$USER'/.ssh/{key}.pem' core@{IP}

基于CoreOS在AWS上的项目实践

Ubuntu

  • For Windows: ssh -i 'c:\Users{username}.ssh\MyKeyPair.pem' ec2-user@{IP 地址}(例如,ssh -i 'c:\Users\adamglic.ssh\MyKeyPair.pem' ec2-user@52.27.212.125)

  • For Mac/Linux: sudo ssh -i ~/.ssh/MyKeyPair.pem ec2-user@{IP 地址}(例如 ssh -i ~/.ssh/MyKeyPair.pem ec2-user@52.27.212.125)

docker run -d -e METHOD=aes-256-cfb -e PASSWORD=jin123 -e SERVER_PORT=8888 -p 8888:8888 --restart=always --name=ss-demo mrjin/shadowsocks:alpine
docker run -dt --name ssserver -p 6443:6443 -p 6500:6500/udp mritd/shadowsocks \
-m "ss-server" -s "-s 0.0.0.0 -p 6443 -m chacha20-ietf-poly1305 -k "$SSPASSWORD \
-x -e "kcpserver" -k "-t 127.0.0.1:6443 -l :6500 -mode fast2"

TODO