| o = |
| o + B E |
| . * # o |
| .o O S |
| += O + |
| +.++o+ + . |
| . +oB. + |
| …===o |
±—[SHA256]-----+
[root@jenkins ~]# ssh-copy-id root@192.168.129.134
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “/root/.ssh/id_rsa.pub”
The authenticity of host ‘192.168.129.134 (192.168.129.134)’ can’t be established.
ECDSA key fingerprint is SHA256:uHo8Vg0cYwJ7KOQnCtvlu7g43XP3sjNQjDZoeCO6lBY.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed – if you are prompted now it is to install the new keys
root@192.168.129.134’s password:
Number of key(s) added: 1
Now try logging into the machine, with: “ssh ‘root@192.168.129.134’”
and check to make sure that only the key(s) you wanted were added.
将包输送到server主机
[root@jenkins tomcat-java-demo]# pwd
/opt/tomcat-java-demo
[root@jenkins tomcat-java-demo]# scp