4-15 Jenkins 自動(dòng)化部署

導(dǎo)出項(xiàng)目

[root@xueshen65 test]# rm -rf xuegod-web/

[root@xueshen65 test]# git clone? http://192.168.43.66/xuegod/xuegod-web.git

正克隆到 'xuegod-web'...

Username for 'http://192.168.43.66': root

Password for 'http://root@192.168.43.66':

remote: Counting objects: 9, done.

remote: Compressing objects: 100% (4/4), done.

remote: Total 9 (delta 0), reused 0 (delta 0)

Unpacking objects: 100% (9/9), done.

安裝插件


[root@xueshen65 ~]# ssh-keygen

公鑰

[root@xueshen65 ~]# ls ~/.ssh/

id_rsa? id_rsa.pub

[root@xueshen65 ~]# cat? .ssh/id_rsa.pub?

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6BR3OWKJwyEgXZaau41C34GstZailjVDy2Bs13R5EfyOV8VWhXPfi6Akzme1hjsCio1rSvC7BQJrAL/WuZMk2qLV9Us+vmhs+okyM8r/hRaSlfrH0dQS3FILucnV5M/wmbIg0y4r7GndpqAxF9xuwT55uUSiTRJXMrdMPCRDQqkNpfW6CrgRWtF2/zoJOOcaH4wIO0cASC2Nl6h0hlXhuxSNaKlcKTsqDBuqKYy1qezJsvbAf0AOz2UPCqaXbt1jkzltrrvqw5ZZfn3z3b+LiB7vICxYOUIjgzWvhqViMLM2knCwaA2YusWE30bb


克隆成功

[root@xueshen65 test]# git clone git@192.168.43.66:xuegod/xuegod-web.git

正克隆到 'xuegod-web'...

The authenticity of host '192.168.43.66 (192.168.43.66)' can't be established.

ECDSA key fingerprint is SHA256:gyEBnaJ5T6r3f7c0xZjwi2a/ZvzNFZZZr5yNYJUMq4g.

ECDSA key fingerprint is MD5:4a:25:8b:ed:7b:59:04:a0:c9:02:3d:f5:d5:5b:10:8d.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '192.168.43.66' (ECDSA) to the list of known hosts.

remote: Counting objects: 9, done.

remote: Compressing objects: 100% (4/4), done.

remote: Total 9 (delta 0), reused 0 (delta 0)

接收對(duì)象中: 100% (9/9), done.

私鑰

[root@xueshen65 ~]# cat .ssh/id_rsa

-----BEGIN RSA PRIVATE KEY-----

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容