$ chmod 400 amazon-cert.pem
$ ssh –i “amazon-cert.pem” ubuntu@ip
$ ssh -L localhost:8888:localhost:8888 -i <your .pem file name> ubuntu@<Your instance DNS>
$ ssh -L localhost:6006:localhost:6006 -i <your .pem file name> ubuntu@<Your instance DNS>
$ source activate tensorflow_p36
$ source activate tensorflow_p27