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
- Disk Space
- check disk usage with:
df -lh
- check folder usage:
du -sh file_path
网友评论