ssh.md 271 B

ssh

ssh -i "pem/jared_aws.pem" -L 2222:ec2-52-79-91-131.ap-northeast-2.compute.amazonaws.com:22 ubuntu@ec2-52-79-91-131.ap-northeast-2.compute.amazonaws.com

ssh -L 8080:localhost:80 root@127.0.0.1

清除連線

ps ax | grep sshd: |xargs kill -9