Comments (9)
we also need this fixed...
Original comment by [email protected]
on 24 May 2012 at 1:46
from ganymed-ssh-2.
I am also seeing the same issue. Any plan to fix this?
Original comment by [email protected]
on 29 Jun 2012 at 10:44
from ganymed-ssh-2.
I also encountered this issue. How can I fix this? Will this be fixed? With
this bug ganymed-ssh-2 is unusable.
Original comment by [email protected]
on 12 Jun 2013 at 9:17
from ganymed-ssh-2.
Does anyone know if there has been any progress on this topic?
I have noticed some similar behavior while using the GanyMed Library. When
executing similar tests to those described by the original poster: open
connection on an unstable IP link, perform SFTP transactions, drop IP link to
sshd on remote target, and at
ch.ethz.ssh2.crypto.cipher.CipherInputStream.fill_buffer(CipherInputStream.java:
41)
I will intermittently receive a blocking read. I can see this in the debugger
as our software "hangs" and the NETSTAT command shows the connection as
"ESTABLISHED" until manually terminated. Ideally an exception or error of some
sort would be thrown or returned.
I am unsure if this is the exact same issue that is explained by the original
poster, but I feel that it is similar enough that opening another issue isn't
warranted.
Any insight into the status of this ticket is greatly appreciated!
Original comment by [email protected]
on 23 Sep 2013 at 7:29
from ganymed-ssh-2.
[deleted comment]
from ganymed-ssh-2.
This has been fixed long ago in r10.
Original comment by [email protected]
on 9 Apr 2014 at 7:44
- Changed state: Fixed
from ganymed-ssh-2.
Hi.
dkocher:
I agree that r10 fixed the issue, but as far as I see this bug was
re-introduced in r47 by the following code in TransportManager.java:
private static Socket establishConnection(...) {
Socket s = new Socket(); // (1) Creating new socket here, and thus earlier
.setSoTimeout will not have effect.
// missing setSoTimeout here.
s.connect(new InetSocketAddress(addr, port), connectTimeout);
return s;
...
}
public void setSoTimeout(int timeout) throws IOException
{
sock.setSoTimeout(timeout);
}
but sock.connect() is never called. Instead a new Socket is created in (1).
https://code.google.com/p/ganymed-ssh-2/source/diff?spec=svn47&r=47&format=side&
path=/trunk/src/main/java/ch/ethz/ssh2/transport/TransportManager.java
It would be great to see this issue re-opened and fixed.
Thanks
Regards
Original comment by [email protected]
on 10 Apr 2014 at 7:00
from ganymed-ssh-2.
Original comment by [email protected]
on 10 Apr 2014 at 12:02
- Changed state: Accepted
from ganymed-ssh-2.
In r102.
Original comment by [email protected]
on 10 Apr 2014 at 1:42
- Changed state: Fixed
from ganymed-ssh-2.
Related Issues (20)
- Use with unencrypted public key HOT 1
- Use Git for source-control HOT 10
- SCPInputStream.read() miscounts remaining bytes HOT 4
- cannot connect to cisco wireles 5500 series HOT 1
- Classes should implement java.lang.AutoClosable (available since 1.7) where applicable HOT 1
- Failure to connect without hmac-sha1 HOT 4
- Help using SCPClient
- Enforce -t -t when connecting to a ssh server
- Forward SOCKS through HTTP proxy
- Sessions created by SCPClient can remain open
- Can Connection use a SessionFactory to create Session instances?
- Add support for very old sftp servers HOT 1
- connect with timeout bug (?) HOT 7
- java.io.IOException: Illegal sftp packet len HOT 2
- Is IPV6 address format supported in Ganymed
- scp quoting breaks some servers
- SCPClient put method should not send E command without D command
- Connection with hmac-sha2-512 failed
- Project has been abandoned! Move on tro something different
- Connection.authenticateWithPassword(userid,pwd) method blocked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ganymed-ssh-2.