场景
将服务器66.3.12.36上面的war包,传到服务器66.3.125.31的webapps目录下面
scp cas.war root@66.3.125.31:/usr/local/tomcat/webapps/
运行结果
-bash-4.1# scp cas.war root@66.3.125.31:/usr/local/tomcat/webapps/ root@66.3.125.31's password: cas.war 100% 109MB 109.0MB/s 00:01 -bash-4.1#