[OpenIndiana-discuss] SFTP fails within jedit in OpenIndiana

Stefan Müller-Wilken stefan.mueller-wilken at acando.de
Tue Sep 21 07:37:23 UTC 2010


Are you sure you have the unlimited strength Java Cryptographic Extensions (JCE) policies installed? See http://www.oracle.com/technetwork/java/javase/downloads/index.html to download them.

Cheers
 Stefan.


Am 21.09.2010 um 09:00 schrieb Ewald Ertl:

Hello,

I used jedit as an editor and the FTP-plugin has the option to open SFTP
connections to remote hosts and to edit
files/view log files like a normal file on the local filesystem.

With OpenSolaris Build 134, the connection to the same remote host with the
same user-environment and java version
works without problems.

Booting into OpenIndiana working with the same jedit, java and user fails:
Here is the log output:

8:39:58 AM [jEdit I/O #3] [message] SftpLogger: Remote version string:
SSH-2.0-Sun_SSH_1.0.1
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: Local version string:
SSH-2.0-JSCH-0.1.43
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: CheckCiphers:
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: aes256-ctr is not available.
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: aes192-ctr is not available.
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: aes256-cbc is not available.
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: aes192-cbc is not available.
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: arcfour256 is not available.
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: SSH_MSG_KEXINIT sent
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: SSH_MSG_KEXINIT received
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: kex: server->client
aes128-cbc hmac-md5 none
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: kex: client->server
aes128-cbc hmac-md5 none
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: SSH_MSG_KEXDH_INIT sent
8:39:58 AM [jEdit I/O #3] [message] SftpLogger: expecting
SSH_MSG_KEXDH_REPLY
8:39:59 AM [jEdit I/O #3] [message] SftpLogger: ssh_rsa_verify: signature
false
8:39:59 AM [jEdit I/O #3] [message] SftpLogger: Disconnecting from onbahaspa
port 22
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest: java.io.IOException:
com.jcraft.jsch.JSchException: verify: false
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
ftp.SFtpConnection.<init>(SFtpConnection.java:105)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
ftp.ConnectionManager.getConnection(ConnectionManager.java:320)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
ftp.FtpVFS.getConnection(FtpVFS.java:451)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
ftp.FtpVFS._canonPath(FtpVFS.java:194)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
org.gjt.sp.jedit.browser.BrowserIORequest.listDirectory(BrowserIORequest.java:158)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
org.gjt.sp.jedit.browser.BrowserIORequest.run(BrowserIORequest.java:90)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:213)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:180)
8:39:59 AM [jEdit I/O #3] [error] BrowserIORequest:  at
org.gjt.sp.util.WorkThread.run(WorkThread.java:154)
8:39:59 AM [jEdit I/O #3] [error] ErrorListDialog$ErrorEntry:
sftp://hartter@onbahaspa:22/~/:
8:39:59 AM [jEdit I/O #3] [error] ErrorListDialog$ErrorEntry: Cannot list
directory: java.io.IOException: com.jcraft.jsch.JSchException: verify: false

The commandline sftp works.

The problem seems to be the line:
8:39:59 AM [jEdit I/O #3] [message] SftpLogger: ssh_rsa_verify: signature
false

Because a verbose sftp says:
debug1: ssh_rsa_verify: signature correct

Even if the jsch SSH implementation used in jedit is wrong, why worked it on
build 134 and also Solaris 10 10/09


Has somebody any hint?

thanks

Ewald
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

_____

Dr. Stefan Müller-Wilken
Senior Manager IT-Consulting

Acando Hamburg, http://www.acando.de<http://www.acando.de/>
Millerntorplatz 1, 20359 Hamburg, Germany
Phone: +49 40 822259-239
Fax: +49 40 822259-100
Mobile: +49 173 2155804


________________________________
Acando GmbH
Geschäftsführer: Michael Mörchen
Amtsgericht Hamburg, HRB 76048
Ust.Ident-Nr.:DE208833022

Haftungsausschluss: Diese Nachricht ist ausschließlich für die Person oder Einheit bestimmt, an die sie gerichtet ist. Sie enthält unter Umständen Informationen, die unter geltendem Recht vertraulich, gesetzlich geschützt oder von der Offenlegung ausgeschlossen sind. Falls Sie nicht der vorgesehene Empfänger oder verantwortlich für die Weiterleitung dieser Nachricht an den vorgesehenen Empfänger sind, ist es Ihnen strengstens untersagt, diese Nachricht offenzulegen, zu verteilen, zu kopieren oder in irgendeiner Art zu benutzen. Sollten Sie diese Nachricht versehentlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen und vernichten Sie jegliche Kopie davon, die Sie möglicherweise erhalten haben.

Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.


More information about the OpenIndiana-discuss mailing list