[JSch-users] ANNOUNCE: JSch 0.1.54

2016-08-30 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.54 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.54/jsch-0.1.54.zip/download and its md5sum is 0b9312909fe542f6e662d40ec676f6b5 . And you can get its byte code in jar file format at

Re: [JSch-users] JSchException "timeout in wating for rekeying process." caused by waiting for user answer

2016-06-20 Thread Atsuhiko Yamanaka
s): ... > It seems that timeout value passed to Session#connect(int) method > applies both to user answer time from UI and server interaction time. > Might it be justly if user interaction had been excluded from timeout value? Here is a patch to exclude user interaction time from timeout value.

Re: [JSch-users] SFTP slow file transfer speed with Titan FTP

2016-06-20 Thread Atsuhiko Yamanaka
ext > version of JSCH? > > The following patch is based upon jsch-0.1.53: > > --- src/com/jcraft/jsch/ChannelSftp.java > +++ src/com/jcraft/jsch/ChannelSftp.java > @@ -1374,17 +1374,16 @@ > len=1024; > } > > - if(rq.count()==

Re: [JSch-users] Illegal data get mixed into a sent file

2016-06-20 Thread Atsuhiko Yamanaka
aximum packet size:35840 > > > We found the same problem would occur with JSch-0.1.53, do you think this > problem occurs due to a defect specific to JSch? And in that case, can you > fix the defect with JSch version 0.1.49? We have not been able to reproduce the reported problems, bu

Re: [JSch-users] Fwd: OpenSSH Certificates

2015-11-19 Thread Atsuhiko Yamanaka
Hi, On Tue, Nov 10, 2015 at 6:23 PM, Reynir Björnsson <reynirr+j...@gmail.com> wrote: > Does JSch support OpenSSH style certificates[1]? > In particular for host keys when connecting as a client. It has not been supported yet. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HO

[JSch-users] ANNOUNCE: JSch 0.1.53

2015-06-05 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.53 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.53/jsch-0.1.53.zip/download and its md5sum is 5c37c1fe15ee6690fcc18b305f2d2659 And you can get its byte code in jar file format at

Re: [JSch-users] Modernize KexAlgorithms ordering (deprioritize DH group1)

2015-05-27 Thread Atsuhiko Yamanaka
. Until now, we have not heard the problem about them, so there are not problems to accept your suggestion on the next version. We have planed to release it by the end of this month. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723

Re: [JSch-users] Execute ssh cmd on remote host

2015-04-30 Thread Atsuhiko Yamanaka
ip). System.err﹕ Permission denied, please try again. System.err﹕ Permission denied, please try again. System.err﹕ Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Try ssh -v -v -v hostX ls Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI

[JSch-users] ANNOUNCE: JSch 0.1.52

2015-03-19 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.52 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.52/jsch-0.1.52.zip/download and its md5sum is 654ae66cc34e32187f8b0bd988ef601a And you can get its byte code in jar file format at

Re: [JSch-users] FIPS mode failure

2015-03-14 Thread Atsuhiko Yamanaka
://twitter.com/ymnk/status/570116671899185152 [2] http://tools.ietf.org/html/rfc5656 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] FIPS mode failure

2015-03-13 Thread Atsuhiko Yamanaka
/com/jcraft/jsch/DHGEX.java, and choose 'diffie-hellman-group-exchange-sha1' on 'Java8'? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Jsch stopped working with Java8

2015-01-20 Thread Atsuhiko Yamanaka
Hi there, +-From: y...@jcraft.com (Atsuhiko Yamanaka) -- |_Date: Thu, 1 Jan 2015 01:14:37 +0900 ___ | |FYI, I had sent a request[1] for changing that behavior |to security-dev mailing list, and the problem has been fixed[2][3] |at last. Java9 will not have the reported

Re: [JSch-users] Jsch stopped working with Java8

2014-12-31 Thread Atsuhiko Yamanaka
Hi, +-From: y...@jcraft.com (Atsuhiko Yamanaka) -- |_Date: Fri, 12 Sep 2014 18:15:12 +0900 __ | |Frankly to say, there is no hope to connect to that sshd by using |JSch with Java8. It seems that sshd from GlobalSCAPE will use |the longer(1024) key for diffie-hellman-group1

Re: [JSch-users] Jsch stopped working with Java8

2014-09-12 Thread Atsuhiko Yamanaka
-8039921 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ -- Want excitement? Manually upgrade your production database. When you want

Re: [JSch-users] Problem with using ANT SCP task to AWS EC2 host

2014-09-03 Thread Atsuhiko Yamanaka
: |com.jcraft.jsch.JSchException: reject HostKey: compress.ptflix.com How about running it with trust=yes, and then running it without trust=yes ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http

Re: [JSch-users] Jsch stopped working with Java8

2014-07-29 Thread Atsuhiko Yamanaka
: java.security.InvalidKeyException: Key is too long for this algorithm Could you try https://gist.github.com/ymnk/2318108#file-logger-java on Java7 and Java8? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft

Re: [JSch-users] Diffie-Helman-Group-14 on Java 1.8

2014-06-05 Thread Atsuhiko Yamanaka
=((javax.crypto.interfaces.DHPrivateKey)(myKpair.getPrivate())).getX(); [1] http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/com/sun/crypto/provider/DHKeyPairGenerator.java#109 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014

[JSch-users] ANNOUNCE: JSch 0.1.51

2014-03-18 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.51 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.51/jsch-0.1.51.zip/download and its md5sum is 89d0ff6d36040622da0a482e51d87725 And you can get its byte code in jar file format at

Re: [JSch-users] SSH key forwading

2014-03-10 Thread Atsuhiko Yamanaka
usually on the terminal. Refer to its example[2]. [1] http://www.jcraft.com/jsch-agent-proxy/ [2] https://github.com/ymnk/jsch-agent-proxy/blob/master/examples/src/main/java/com/jcraft/jsch/agentproxy/examples/JSchWithAgentProxy.java Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO

Re: [JSch-users] Ant sshexec task error when using key

2014-02-27 Thread Atsuhiko Yamanaka
(res0.getBlockSize()), new Array(res0.getIVSize())) It seems 'res0.init(...)' has thrown some exception on your environment. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk

Re: [JSch-users] Dropped Connections using JSCH

2014-02-25 Thread Atsuhiko Yamanaka
(host, 22); That is a problem of the remote sshd server, not a problem in JSch, IMHO. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] jsch session connect waits indefinitely

2014-02-11 Thread Atsuhiko Yamanaka
it has stopped in checking if the auth method arcfour is available or not. How about skipping that step? ... session.setConfing(CheckCiphers, aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr); session.connect(); ... Sincerely, -- Atsuhiko

Re: [JSch-users] Issues uploading to ProFTPd with mod_sftp

2014-02-11 Thread Atsuhiko Yamanaka
in JCE, so there is no reason to use c.j.j.jt.HMAC* introduced at 0.1.30. - change: updating copyright messages; 2013 - 2014 - feature: added the support for private keys in PKCS#8 format. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan

Re: [JSch-users] Algorithm negotiation fail Exception while doing SFTP

2013-11-19 Thread Atsuhiko Yamanaka
/Logger.java You may find a reason for that exception in its output. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] hostKeyRepository.check always returning NOT FOUND

2013-11-06 Thread Atsuhiko Yamanaka
( sessionHost, hostKey.getKey().getBytes() ); At least, a key must be decoded as follows, byte[] key = hostKey.getKey().getBytes(); int repoHostKeyCheck = hostKeyRepository.check(sessionHost, Util.fromBase64(key, 0, key.length)); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU

Re: [JSch-users] Issues uploading to ProFTPd with mod_sftp

2013-10-11 Thread Atsuhiko Yamanaka
.* channelWindowSize 1GB Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Issues uploading to ProFTPd with mod_sftp

2013-10-10 Thread Atsuhiko Yamanaka
that I've tested works (and has been |working just fine for quite some time. How about version 0.1.47 and 0.1.48? If 0.1.47 works fine, but 0.1.48 does not, try ((ChannelSftp)c).setBulkRequests(1) before invoking Channel#connect(). Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU

Re: [JSch-users] java.io.IOException: End of IO Stream Read during session.connect() of JSch 0.1.49 with JZlib 1.1.1

2013-10-02 Thread Atsuhiko Yamanaka
are using the software AdvantcoSFTPAdapter, and we don't know about it and its internal. The developer of that product may help you. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com

Re: [JSch-users] sporadic ArrayIndexOutOfBoundsException in com.jcraft.jsch.Channel.connect()

2013-10-02 Thread Atsuhiko Yamanaka
factors, so I suggest to re-try making sessions or channels at such a case. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Exceptio while calling method Session.connect()

2013-09-04 Thread Atsuhiko Yamanaka
( java.security.Security.getProvider(SunJCE), 1 ); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Still

2013-07-18 Thread Atsuhiko Yamanaka
, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk -- See everything from

[JSch-users] ANNOUNCE: JSch 0.1.50

2013-05-09 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.50 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.50/jsch-0.1.50.zip/download and its md5sum is 4916d589d123cae6e7ed365365d12af7 And you can get its byte code in jar file format at

Re: [JSch-users] Missing timeout value in ChannelDirectTCPIP.connect() will terminate session after ssh server channel timeout

2013-04-26 Thread Atsuhiko Yamanaka
= session.getStreamForwarder(host, port) InputStream in = channel.getInputStream(); OutputStream out = channel.getOutputStream(); channel.connect(1000) ... Please try http://www.jcraft.com/jsch/jsch-0.1.50-rc5.zip , and refer to its ChangeLog. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1

Re: [JSch-users] ScpTo flushing the outstream while copying

2013-04-20 Thread Atsuhiko Yamanaka
and calculating HMAC. As a preliminary test, I have been sending 10MB file 100 times with flush(), but have not been able to reproduce that problem. Would you show have to reproduce it? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype

Re: [JSch-users] Missing timeout value in ChannelDirectTCPIP.connect() will terminate session after ssh server channel timeout

2013-04-05 Thread Atsuhiko Yamanaka
-0.1.50-rc3.zip ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] JSch to do setup passwordless authentication

2013-03-29 Thread Atsuhiko Yamanaka
, but it is not so clear what should be done. Can you explain what kind of steps you have done manually? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com

Re: [JSch-users] jsch-0.1.49

2013-03-20 Thread Atsuhiko Yamanaka
(Session.java:559) Try the following sample program, http://www.jcraft.com/jsch/examples/Logger.java You may find the reason for that problem in its outputs. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft

Re: [JSch-users] Fwd: strange behavior on RedHat when setting pty to true

2013-03-06 Thread Atsuhiko Yamanaka
), please refer to http://www.jcraft.com/jsch/examples/Sudo.java.html Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] verify: false error using Jsch with Java 1.7

2013-02-28 Thread Atsuhiko Yamanaka
)0, (byte)0x01} will be normalized as {(byte)0x01} before continuing the processing. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] verify: false error using Jsch with Java 1.7

2013-02-28 Thread Atsuhiko Yamanaka
} will be normalized as {(byte)0x01} before continuing the processing. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] verify: false error using Jsch with Java 1.7

2013-02-21 Thread Atsuhiko Yamanaka
invocations - a failure with a |verify: false error. We will investigate that problem. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-18 Thread Atsuhiko Yamanaka
not recognize or support the request, it simply responds with SSH_MSG_REQUEST_FAILURE. I hope that Serv-U has responded with SSH_MSG_REQUEST_FAILURE message. [1] http://www.ietf.org/rfc/rfc4254.txt Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Atsuhiko Yamanaka
then stopped polling the |remote sftp server. This time I used jconsole to get a stacktrace to see |where jsch was stuck. Here it comes: ... Have you enabled Session#setServerAliveInterval(int interval) ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Atsuhiko Yamanaka
that the TCPKeepAlive at the socket level would kick |in after a while and mark the other end as dead and then close |the socket. If setServerAliveInterval() does not resolve the problem, TCPKeepAlive will not. I just want to get a hint to find where is the problem. Sincerely, -- Atsuhiko Yamanaka JCraft

Re: [JSch-users] Urgent : NIST Special Publication 800-107

2012-10-11 Thread Atsuhiko Yamanaka
will have this implemented. The next version will support hmac-sha2-256 defined in RFC6668[1]. [1] http://tools.ietf.org/html/rfc6668 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http

Re: [JSch-users] Keeping the connection alive

2012-10-03 Thread Atsuhiko Yamanaka
? It will not wake up a frozen sftp connection, but it will not let a sftp connection sleep. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com

Re: [JSch-users] Thread freezes and never returns

2012-09-28 Thread Atsuhiko Yamanaka
.maven.org/maven2/org/apache/camel/camel-ftp/2.10.1/camel-ftp-2.10.1.pom Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] v0.1.48: SFTP requests arriving out-of-order

2012-09-26 Thread Atsuhiko Yamanaka
you try that patch? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk diff Description: Binary data

Re: [JSch-users] SFTP listing of unix socket files

2012-09-10 Thread Atsuhiko Yamanaka
Hi, +-From: Peter Kraft pe...@oskrafts.org -- |_Date: Mon, 10 Sep 2012 11:50:43 -0400 ___ | |Hi Erick, Below is an email I sent a while back about this same |issue. Atsuhiko Yamanaka said the fix would be in the next |release. From my reading of the release dates, 0.1.44

Re: [JSch-users] java.io.IOException: End of IO Stream Read during key exchange

2012-09-10 Thread Atsuhiko Yamanaka
exchange? Have you sett-ed timeout for Session#connect()? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Upload issues with SFTP server with virtual filesystem

2012-08-28 Thread Atsuhiko Yamanaka
|for the OpenSSH server, but works with the SFTP server with the virtual |filesystem. I think this is a good idea, and I'm thinking that this 'try and check on error' method will be adopted in the next release. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014

Re: [JSch-users] Public key authentication is failing through a stand alone program using jsch bundle

2012-06-26 Thread Atsuhiko Yamanaka
://bugzilla.mindrot.org/show_bug.cgi?id=1550 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] How to do Folder copy in JSCH

2012-06-18 Thread Atsuhiko Yamanaka
Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk -- Live Security

Re: [JSch-users] Quick question about getting authentication questions

2012-06-04 Thread Atsuhiko Yamanaka
,password); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] strange Auth cancel error

2012-05-14 Thread Atsuhiko Yamanaka
; |} |The target server registers no complaints, however the signature |is set to null for the bad key, not null for the good key. If I have that key pair, I may be able to check what's going on. Can you send it to me directly? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA

Re: [JSch-users] Problem with jsch staying in sleep state

2012-05-11 Thread Atsuhiko Yamanaka
. I have not found the reason for it, but how about invoking ((ChannelSftp)c).setBulkRequests(1); before ChannelSftp#put() method? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http

Re: [JSch-users] Problem with jsch staying in sleep state

2012-05-10 Thread Atsuhiko Yamanaka
. Version of jsch is |0.1.47. Running on Solaris 10. I've tried setting |setServerAliveInterval(500) but that doesn't work either. Does that problem happen on the downloading and uploading? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22

Re: [JSch-users] Can you reuse sessions in parallel?

2012-05-07 Thread Atsuhiko Yamanaka
MaxSessions for sshd_config, $ man sshd_config ... MaxSessions Specifies the maximum number of open sessions permitted per net- work connection. The default is 10. ... Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan

[JSch-users] ANNOUNCE: JSch 0.1.48

2012-04-24 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.48 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.48/jsch-0.1.48.zip/download and its md5sum is 9422dbbce4466be80be35b47e60dae25 And you can get its byte code in jar file format at

Re: [JSch-users] JSch: Too many open files

2012-04-17 Thread Atsuhiko Yamanaka
sockets. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] JSch: Too many open files

2012-04-17 Thread Atsuhiko Yamanaka
] for example, line number 474 of http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c?annotate=1.176 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook

Re: [JSch-users] send CRTL+C

2012-04-17 Thread Atsuhiko Yamanaka
, ChannelExec c = (ChannelExec)sesseion.openChannel(exec); c.setPty(true);// ! c.setCommand(tail -f /etc/httpd/logs/acces_log); InputStream in = c.getInputStream(); OutputStream out = c.getOutputStream(); c.connect(); ... out.write(3); out.flush(); Sincerely, -- Atsuhiko

Re: [JSch-users] ChannelExec: missing process output

2012-04-17 Thread Atsuhiko Yamanaka
of it's output. |After some investigation I've found that 'Pipe closed' IOException is |raised in Jsch session after process is terminated. Do you have a simple sample code to reproduce your problem? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980

Re: [JSch-users] Slow SFTP

2012-04-12 Thread Atsuhiko Yamanaka
Hi, +-From: y...@jcraft.com (Atsuhiko Yamanaka) -- |_Date: Thu, 12 Apr 2012 00:12:47 +0900 __ | |Ah, the implementation of the later method has not been using bulk |requests. The bulk request is not the formal technical term, |but you will find that OpenSSH's sftp has

Re: [JSch-users] Slow SFTP

2012-04-12 Thread Atsuhiko Yamanaka
. |Do you know when this new version will be available via the public |Maven repository? After some further tests, I'll release it soon. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http

Re: [JSch-users] ANNOUNCE: JSch 0.1.47

2012-04-10 Thread Atsuhiko Yamanaka
, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk -- Better than sec

[JSch-users] ANNOUNCE: JSch 0.1.47

2012-04-05 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.47 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.47/jsch-0.1.47.zip/download and its md5sum is 0f4a285d9633c944659fcef756aedf58 And you can get its byte code in jar file format at

Re: [JSch-users] Jsch as server/daemon

2012-04-02 Thread Atsuhiko Yamanaka
? Unfortunately, it runs only as a client. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] StreamForwarding

2012-03-19 Thread Atsuhiko Yamanaka
. ... |At this point I want to use the input and output streams from the channel |but get an exception. Colud you try the following version? http://www.jcraft.com/jsch/jsch-0.1.47-rc2.zip Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81

Re: [JSch-users] JSch on Android

2012-03-14 Thread Atsuhiko Yamanaka
or JAR) AND the JRE System |Libraries. |Login whith publickey is working fine now ;-) Thank you for sharing your success with us. Keep up the good work, and I hope your success! Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723

Re: [JSch-users] Problem with sending INT signal

2012-03-05 Thread Atsuhiko Yamanaka
: failed to |send channel request |Is it a JSch bug, or something can be wrong with my settings? Which sshd are you connecting to? At least, the latest OpenSSH's sshd has not supported it yet, as far as I have recognized. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI

Re: [JSch-users] Problem with specific private key

2012-03-05 Thread Atsuhiko Yamanaka
on github.com? I have not tried that keys for github.com, because it is unacceptable to install a public-key generated from such a public private-key to my github account, as you agree with me. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81

Re: [JSch-users] problem with the connection sftp

2012-03-05 Thread Atsuhiko Yamanaka
? On every jsch version, you should use the known_hosts file to work around the man-in-the-middle attack. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http

Re: [JSch-users] Algorithm negotiation fail

2012-02-17 Thread Atsuhiko Yamanaka
@host Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Algorithm negotiation fail

2012-02-16 Thread Atsuhiko Yamanaka
not been related to the change of host-keys. Could you please try the following code, and show its output? http://www.jcraft.com/jsch/examples/Logger.java Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft

Re: [JSch-users] Setting environment // X11 authorization cookie

2012-02-14 Thread Atsuhiko Yamanaka
accessible from jsch. The current functionality is enough for us, so there is no plan to do for handling x-cookies. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook

Re: [JSch-users] Compatibility with WinSSHD ver. 5.05

2012-02-13 Thread Atsuhiko Yamanaka
settings to the session (it's set |to none). I also did the test with Jsch 0.1.46 with Jzlib 1.0.7 and |1.1.0 and it does not work also. So, you have only succeeded with JSch 0.1.44 with JZlib 1.0.7. Is it right? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI

Re: [JSch-users] compress files remotely

2012-02-13 Thread Atsuhiko Yamanaka
, rather than using sftp, I'll exec remtely (cd /somewhere; tar czf - .) and extract files on the local. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http

Re: [JSch-users] Compatibility with WinSSHD ver. 5.05

2012-02-12 Thread Atsuhiko Yamanaka
/jsch/Compression.class 2697 12/02/02 17:58 com/jcraft/jsch/jcraft/Compression.class If you build it by yourself, it may not. And then, how about using the combination of JSch version 0.1.45 with Jzlib 1.0.7 ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI

Re: [JSch-users] Compatibility with WinSSHD ver. 5.05

2012-02-12 Thread Atsuhiko Yamanaka
with JZlib 1.1.0 have the problem? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Can't display graphical programs using XForwarding

2012-02-10 Thread Atsuhiko Yamanaka
6000, $ netstat -na | grep 6000 , and then allow connections to it without X authenticity checking, $ xhost +127.0.0.1 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk

Re: [JSch-users] Can't display graphical programs using XForwarding

2012-02-10 Thread Atsuhiko Yamanaka
Hi, +-From: Mattia mat...@tekno-soft.it |_Date: Fri, 10 Feb 2012 10:40:44 +0100 __ | |On 02/10/2012 09:51 AM, Atsuhiko Yamanaka wrote: Hi, +-From: Mattiamat...@tekno-soft.it |_Date: Thu, 09 Feb 2012 18:52:11 +0100 __ | |Hello list! |I'm

Re: [JSch-users] Can't display graphical programs using XForwarding

2012-02-10 Thread Atsuhiko Yamanaka
of the host, where X sever is running and xhost + has been exec-ed for it, http://www.jcraft.com/jsch/examples/Exec.java You don't have to care for $DISPLAY variable. The string command should be just like xdpyinfo, xlogo. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU

Re: [JSch-users] Fw: SFTP directory existence checking error

2012-02-07 Thread Atsuhiko Yamanaka
? It will be helpful if you show code to reproduce it. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] infinite loop bug when invalid password is used

2012-02-04 Thread Atsuhiko Yamanaka
email and it really does cause some serious |problems for us. Is it reproducible on the following version? http://sourceforge.net/projects/jsch/files/jsch/0.1.46/jsch-0.1.46.zip/download Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81

Re: [JSch-users] jzlib vs. Java 7 for JSch ?

2012-02-03 Thread Atsuhiko Yamanaka
it may not be so urgent, IMHO. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

[JSch-users] ANNOUNCE: JSch 0.1.46

2012-02-02 Thread Atsuhiko Yamanaka
Hi there, JSch 0.1.46 has been released. It is available at http://sourceforge.net/projects/jsch/files/jsch/0.1.46/jsch-0.1.46.zip/download and its md5sum is 9e8a88a7ed26d2f1feb2edf2382585f6 And you can get its byte code in jar file format at

Re: [JSch-users] Issue: One blocking channel blocks all Session communication

2012-01-30 Thread Atsuhiko Yamanaka
Hi, +-From: y...@jcraft.com (Atsuhiko Yamanaka) -- |_Date: Sat, 28 Jan 2012 02:06:28 +0900 __ | | +-From: B. Scott Smith sc...@smithdomain.com -- | |_Date: Thu, 26 Jan 2012 17:00:23 -0600 ___ | | | |I was running the test on Sun's JRE, version 1.6.0_29

Re: [JSch-users] another auth fail

2012-01-30 Thread Atsuhiko Yamanaka
it! Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk -- Try

Re: [JSch-users] another auth fail

2012-01-25 Thread Atsuhiko Yamanaka
()); } Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Issue: One blocking channel blocks all Session communication

2012-01-25 Thread Atsuhiko Yamanaka
1.6.0_16 and Gnu/Linux(Fedora). Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Issue: One blocking channel blocks all Session communication

2012-01-24 Thread Atsuhiko Yamanaka
and the internal logic has been changed since then, and tests had not been done for it, frankly to say. Sorry for inconveniences. I'll check the code. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft

Re: [JSch-users] Getting Started: Auth Fail

2012-01-09 Thread Atsuhiko Yamanaka
Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk -- Write once

Re: [JSch-users] How to run large remote commands in JSCH

2012-01-07 Thread Atsuhiko Yamanaka
for the efficiency. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] How to run large remote commands in JSCH

2012-01-06 Thread Atsuhiko Yamanaka
|But after running 58 commands the program quits saying the channel |is not opened Have you invoked Channel#disconnect() method? If you can show your code, the reason for the problem may be found. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel

Re: [JSch-users] Patch for Received data for nonexistent channel error

2012-01-04 Thread Atsuhiko Yamanaka
write(Packet packet) throws Exception{ Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Patch for performance issues with rapid connections over forwarded port

2012-01-04 Thread Atsuhiko Yamanaka
is not ready. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk

Re: [JSch-users] Issue: One blocking channel blocks all Session communication

2012-01-04 Thread Atsuhiko Yamanaka
Hi, +-From: B. Scott Smith sc...@smithdomain.com -- |_Date: Wed, 04 Jan 2012 12:10:25 -0600 ___ | |Hi, On 1/4/2012 7:59 AM, Atsuhiko Yamanaka wrote: Ah, it is an known behavior, and I have recognized that a fix like your change will resolve most of case

Re: [JSch-users] Patch for performance issues with rapid connections over forwarded port

2012-01-04 Thread Atsuhiko Yamanaka
Hi, +-From: B. Scott Smith sc...@smithdomain.com -- |_Date: Wed, 04 Jan 2012 12:22:30 -0600 ___ | |Hi, On 1/4/2012 8:12 AM, Atsuhiko Yamanaka wrote: I agree it will improve the performance, but I guess that it will add an yet another reason for Exception: Received

Re: [JSch-users] channel not opened error

2011-12-27 Thread Atsuhiko Yamanaka
of opening multiple channels on the single session. The older sshd had hard coded the number for simultaneous channels in the source code , and it seems the recent version has the configuration for it. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014

  1   2   3   4   >