Java sshxcute验证失败| JschException
Im使用sshxcute从java连接到unix服务器。 连接时,我得到一个错误: JschException:Auth失败 请让我知道可能的问题 以下是我使用的psedo代码:Java sshxcute验证失败| JschException,java,unix,authentication,jsch,Java,Unix,Authentication,Jsch,Im使用sshxcute从java连接到unix服务器。 连接时,我得到一个错误: JschException:Auth失败 请让我知道可能的问题 以下是我使用的psedo代码: SSHExec ssh= null; ConnBean cb = new ConnBean("servername","username","password"); SSHExec.getInstance(cb) ssh.connect(); ssh.disconnect(); 另外,请让我知道这是什么原因造成的
SSHExec ssh= null;
ConnBean cb = new ConnBean("servername","username","password");
SSHExec.getInstance(cb)
ssh.connect();
ssh.disconnect();
另外,请让我知道这是什么原因造成的