我爱编程

AWS Tensorflow 常用指令

2018-03-12  本文已影响19人  SilentSummer
ssh -i ~/Downloads/key.pem ec2-user@public_ip_address
ssh -i ~/Downloads/key.pem -L 8157:127.0.0.1:8888 ec2-user@public_ip_address
ssh -i ~/Downloads/key.pem -L 16006:127.0.0.1:6006 ec2-user@public_ip_address
tensorboard --logdir=dir_to_logfile --port=6006
# login localhost:16006
127.0.0.1:16006
scp -i ~/Downloads/key.pem -r ~/source ec2-user@public_ip_address:~/destination  
scp -i ~/Downloads/key.pem -r ec2-user@public_ip_address:/source/filename  ~/destination
tar -zcvf name_of_archive_file.tar.gz name_of_directory_to_tar
tar xvzf file.tar.gz
上一篇 下一篇

猜你喜欢

热点阅读