本文使用ssh協議操做gitgit
com.jcraft.jsch.jschexception: reject hostkey:192.168.220.128
用戶目錄ssh文件夾下的known_hosts文件沒有對應的配置信息服務器
~/.ssh/known_hosts
Connecting to a new host 192.168.220.128:22 that has the key ea:e3:10:94:20:ec:84:e4:d0:a7:02:90:76:7b:8d:5b (type ssh-rsa). Do you want to add this host to known hosts database?
這時候再啓動配置服務器就沒有問題了ssh