예제 : http://www.jcraft.com/jsch/examples/Logger.java.html JSch jsch=new JSch(); Session session=jsch.getSession(remoteHostUserName, RemoteHostName, 22); session.setPassword(remoteHostpassword); Properties config = new Properties(); config.put("StrictHostKeyChecking", "no"); session.setConfig(config); session.connect(); ChannelExec channel=(ChannelExec) session.openChannel("exec"); BufferedReader in=new BufferedReader(new InputStreamReader(channel.getInputStream())); channel.setCommand("pwd;"); channel.connect(); 접속 하니 Algorithm negotiation fail 에러가 뜬다 에러 내용을 더 자세히 보기 위해 com.jcraft.jsch.Logger 를 임플리먼트 해서 Jcsh.setLogger 에 추가 해서 상세 내용을 본다 https://stackoverflow.com/questions/16468475/sending-commands-to-remote-server-through-ssh-by-java-with-jsch 결론은 jce.jar 강제 업데이트 By default, JCE policies -which come with your JDK or JRE- don't support such techniques for ciphering like (ase-256,.. etc). For sure you MUST replace your c...