jsch


com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 No appropriate prime between 1024 and 1024 is available. en


I am looking to connect to a server where they support the following key exchange method
ecdh-sha2-nistp521
ecdh-sha2-nistp384
ecdh-sha2-nistp256
diffie-hellman-group-exchange-sha256
diffie-hellman-group14
diffie-hellman-group
I am using jsch jsch-0.1.53 and using RSA private/public key to connect to the server. This works fine before not until the server was changed and now returning this strange error
com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 No appropriate prime between 1024 and 1024 is available. en
at com.jcraft.jsch.Session.read(Session.java:899)
at com.jcraft.jsch.Session.connect(Session.java:294)
at com.jcraft.jsch.Session.connect(Session.java:154)
I am running and compiling the project using java 1.6.0_16.
Any idea how to resolve this issue please ?
I had the same problem with jsch 0.1.53 and Java 1.7.0_05
It got solved when I update to Java 1.8_101

Related Links

Creating a new file in SSH enabled system using JSCH
How to interact with the script after its execution using Jsch
java jsch -executing multiple unix commands
How to get one stream from error stream and input stream when calling a script using JSCH
SFTP using jschexception verify false sometimes fails
how to increase the jsch buffer size?
The cipher 'aes256-cbc' is required, but it is not available
How to pause/resume procedure while/after upload file by ChannelSftp
jsch + running multiple command in shell after SU and then close channal
NGit/Nsch Generating SSH Keypair (c# Jgit)
Extract userInfo from JSCH stream
Running a Shell Script using java ( process Builder ) with a specific unix user
Java jsch and resuming file upload after interruption?
How to pass a variable through channel in Jsch?
How to handle passwords prompts in expectj
Retaining the last modified date while using ChannelSftp for file transfer

Categories

HOME
java
twitter
osgi
date
openstack
path-finding
include
relay
cmd
infragistics
ip
umd
google-project-tango
fingerprint
ojdbc
bs4
webrequest
iggrid
communication
izpack
u-sql
postgres-xl
gz
iron-router
libtiff
saxon
code-review
excel-vba-mac
orleans
cloudhub
restful-authentication
fish
bootstrap-material-design
social-media
fifo
fabric8
frame
data-manipulation
cloud-code
starteam
cookiecutter-django
mesos-chronos
ensembles
pdf-reactor
glew
qcombobox
network-flow
hibernate-tools
dds
winscp-net
dotnetzip
libusb-win32
pillow
account-kit
background-service
pycaffe
objective-c-swift-bridge
plottable.js
bstr
connect-by
rhino-servicebus
netmq
pervasive-sql
tcpserver
thredds
content-length
ios9.1
createprocessasuser
sniffer
mmc
graph-api-explorer
xc16
dd
java.util.concurrent
websocket4net
xojo
uitouch
reactfx
ril
padarn
e4x
chuck
broken-links
qtkit
netdna-api
gwt-ext
coredump
psi
javax.script
locate
html-input
asp.net-profiles
ext3
rescale
kdbg
libs
microsoft-virtualization
anti-piracy
pascal-fc
port-number
post-build
data-acquisition
signal-handling
paul-graham

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App