Hello Martin, Am Montag, 10. September 2007 14:31 schrieb Oberhuber, Martin: > Hello Conrad, > > > This message is normal when you connect to a host for the > first time. Jsch will save the host key of that host in > the known_hosts file in the SSH homedir. Does your app > tell Jsch where the SSH homedir is, such that the > known_hosts file can be read and written?
Do i need to tell Jsch this explicitly oder will the API take the information from the below Preferences? > > You might want to consider IJSchService.createSession() > in order to set up SSH Preferences as specified in the > General > Networ Connections Preferences screen. > They were set proberly, i think. The file rsa_id exists! i never made some changes there. They all are default. > About the "No such algorithm" exception, I'm not sure. > Atsuhiko might have an idea. I do not know the > "DESede/CBC/NoPadding" > algorithm, perhaps this is different than the 3des > algorithm that JSch supports. Perhaps you'd have > to configure your SSH server to allow other kinds > of algorithms. > > What kind of SSH server is this? Can you send it's > config? It might also help if you try connecting > your remote from a (cygwin or UNIX) ssh client: > ssh -v 10.0.0.105 > the debug messages being logged might help understanding > what kind of algorithms or MD's your remote expects. > I'm running two linux machines , host and target. different users [EMAIL PROTECTED]:~/.ssh$ ssh -v 10.0.0.105 OpenSSH_4.2p1 Debian-7ubuntu3.1, OpenSSL 0.9.8a 11 Oct 2005 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 10.0.0.105 [10.0.0.105] port 22. debug1: Connection established. debug1: identity file /home/cberh/.ssh/identity type -1 debug1: identity file /home/cberh/.ssh/id_rsa type 1 debug1: identity file /home/cberh/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_4.3 debug1: match: OpenSSH_4.3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.2p1 Debian-7ubuntu3.1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY The authenticity of host '10.0.0.105 (10.0.0.105)' can't be established. RSA key fingerprint is dd:07:2a:3e:07:62:9a:ad:b2:a6:1c:3c:1d:47:d7:21. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.0.0.105' (RSA) to the list of known hosts. debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/cberh/.ssh/identity debug1: Offering public key: /home/cberh/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /home/cberh/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password thanks c~ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users