The requirement is to ssh from one server to multiple server and execute a command.
When I do this I frequently, but not always, receive this exception when trying to ssh from one server to another. What could be the reason for this and how can it be fixed? Any help could be great. Thanks in advance!
jcraft.jsch.JSchException: verify: false
at jcraft.jsch.Session.connect(Session.java:309)
at jcraft.jsch.Session.connect(Session.java:162)
question from:
https://stackoverflow.com/questions/12279836/ssh-using-jschexception-verify-false-sometimes-fails 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…