- 本地向服務(wù)器傳送文件
scp ./girl-0.0.1-SNAPSHOT.war root@120.79.213.244:/usr/local
將目標服務(wù)器中 /etc/ssh/sshd_config 中的一個參數(shù)改一下:
PasswordAuthentication no中的“no”改為yes
scp ./girl-0.0.1-SNAPSHOT.war root@120.79.213.244:/usr/local
將目標服務(wù)器中 /etc/ssh/sshd_config 中的一個參數(shù)改一下:
PasswordAuthentication no中的“no”改為yes