ssh
awspass.pem为创建服务器时创建的密钥,ubuntu用户
ssh -i "awspass.pem" ubuntu@ip
scp
scp -i "awspass.pem" -r dist/* ubuntu@ip:/home/ubuntu/
awspass.pem为创建服务器时创建的密钥,ubuntu用户
ssh -i "awspass.pem" ubuntu@ip
scp -i "awspass.pem" -r dist/* ubuntu@ip:/home/ubuntu/