[kepler-dev] SSH Help

Podhorszki, Norbert pnorbert at ornl.gov
Wed Aug 12 07:06:08 PDT 2009


Hi Subhav,

Can you use this actor to login with password?
Can you use this private key to login to that remote machine with command-line ssh?

google search reveals to me that something have been changed in ssh server configurations that is incompatible for older jsch versions.
(like http://www.mail-archive.com/issues@maven.apache.org/msg54510.html)

Can you replace the ./common/lib/jar/jsch-0.1.31.jar with the recent version and try it again?

http://publib.boulder.ibm.com/infocenter/director/v6r1x/index.jsp?topic=/director.tbs_6.1/fqm0_r_tbs_cannot_deploy_agents_to_vmware.html
says something about the ciphers enabled at server side.  If you are admin of the remote host, you may add (back) the 3des-cbc cipher as described on this web page.

Best regards
Norbert





On 8/12/09 2:11 AM, "subhav mital" <mital.subhav at gmail.com> wrote:

Hello,

I have been using the SSH actor to connect to a remote host and get the following error:

Exception caught in .ssh2executeActor.SSH to Execute
(com.jcraft.jsch.JSchException)
Algorithm negotiation fail

I have followed all the procedures for pwdless connections such as:
cantin at sodium:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cantin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cantin/.ssh/id_rsa.
Your public key has been saved in /home/cantin/.ssh/id_rsa.pub.
The key fingerprint is:
f6:61:a8:27:35:cf:4c:6d:13:22:70:cf:4c:c8:a0:23 cantin at sodium
The command ssh-keygen -t rsa initiated the creation of the key pair.

No passphrase was entered (Enter key was pressed instead).

The private key was saved in .ssh/id_rsa. This file is read-only and only for you. No one else must see the content of that file, as it is used to decrypt all correspondence encrypted with the public key.

The public key is save in .ssh/id_rsa.pub.

In this case, the content of file id_rsa.pub is
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEArkwv9X8eTVK4F7pMlSt45pWoiakFkZMw
G9BjydOJPGH0RFNAy1QqIWBGWv7vS5K2tr+EEO+F8WL2Y/jK4ZkUoQgoi+n7DWQVOHsR
ijcS3LvtO+50Np4yjXYWJKh29JL6GHcp8o7+YKEyVUMB2CSDOP99eF9g5Q0d+1U2WVdB
WQM= cantin at sodium
Copy the content to .ssh/authorized_keys of the system you wish to SSH to without being prompted for a password.



However, I still get the above error. Please suggest a way to resolve this.



Thanks





More information about the Kepler-dev mailing list