[OpenIndiana-discuss] SFTP fails within jedit in OpenIndiana

Ewald Ertl ewald.ertl at gmail.com
Tue Sep 21 07:00:41 UTC 2010


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


More information about the OpenIndiana-discuss mailing list