1
을 얻을jsch 디렉토리 변경하고 .. jsch에서 내용
Channel channel=session.openChannel("exec");
((ChannelExec)channel).setCommand("cd ../ && pwd");
channel.connect();
channel.run();
((ChannelExec)channel).setCommand("ls");