jsch
ant scp task hangs on Linux
I ran into a problem where an ant scp task hangs during a fileset copy. The task is: <scp file=\"${usr}:${pwd}@${hst}:${dir}/*\" todir=\"${to}\" trust=\"true\"/>[详细]
2023-03-24 20:48 分类:问答How to SSH to a server behind another SSH server using JSch?
I need to be able to ssh from a Java program into a remote server, and from there SSH to another server. I have credentials for both servers on my client.[详细]
2023-03-22 01:06 分类:问答Read a file from the another location using JSch
Here is my code to read a file from the another location using JSch import com.jcraft.jsch.*; import java.io.BufferedReader;[详细]
2023-03-21 15:29 分类:问答unable to execute a .sh script with Jsch
i\'m trying to execute a script shell in a unix server from my java application (on my windows seven station) using the ssh api Jsch.[详细]
2023-03-18 03:08 分类:问答How can I run an application on a remote machine by ssh?
How can I run an application on a remote machine via ssh? I tried using JSCH, this way: Properties props = new Properties();[详细]
2023-03-16 13:18 分类:问答JSch session.connect() hungs with CoreFTP
I have CoreFTP configured for localhost and the next code: JSch.setLogger(new MyJschLogger()); //class for console output[详细]
2023-03-15 22:47 分类:问答How do I write a gzipped byte array via SFTP (Jsch) without decompressing it?
(This was x-posted to the Jsch mailing list BTW). I\'m reading data from a database and carrying that as a byte[] (for transportation across middleware components).[详细]
2023-03-11 10:41 分类:问答what's the exact differences between jsch ChannelExec and ChannelShell?
Can someone tell me the 开发者_如何转开发differences betweenChannelExec & ChannelShell?The shell and exec channels are quite similar - both execute commands with the remote shell (at least, concep[详细]
2023-03-11 09:51 分类:问答JSchException: Algorithm negotiation fail
I am trying to connect to remote sftp server over ssh with JSch (0.1.44-1) but during session.connect(); I am getting this exception:[详细]
2023-03-10 18:32 分类:问答jsch ChannelExec run a .sh script with nohup "lose" some commands
I hava a .sh script which glues many other scripts, called by jsch ChannelExec from a windows application.[详细]
2023-03-09 23:54 分类:问答