Thanks for your reply Simanti...

I issue turned out to be something related to username/password
authentication... Now it works ... thanks Githa

<<<<<<<<<<<<

If OpenSSH is configured to such that "PasswordAuthentication=no" for
security reasons, Jira is unable to connect to the SSH server. This affects
CVS integration (and also seems to affect the SVN plugin as well.) This may
also be causing problems with key-pair SSH authentication as well.
Turning the PasswordAuthentication setting off keeps the SSH client from
sending the password to the server in cleartext through the negotiated
encrypted tunnel, this approach is vulnerable to interception and later
brute-force decryption of the tunnel. Turning the setting off causes the SSH
client to encrypt the password with the negotiated private key before
sending it to the server.
FYI - When this setting is off, a regular command line SSH client uses the
"keyboard-interactive" authentication method instead.
The problem appears to be in the Jira's use of the Jsch package. I had
originally posted this to Jsch's wiki as a potential issue with their
library. However, they modified the result with information about how to
configure their product to support keyboard-interactive authentication. The
information can be found here:
http://wiki.jsch.org/index.php?PasswordAuthentication - it looks like a
simple fix and they've provided some links to reference code.
It's also worthwhile to note that Eclipse (both for build-in CVS
connectivity and the Subsclipe plugin) uses Jsch and does not have trouble
connecting to an SSH server with the PasswordAuthentication setting turned
off.
>>>>>>>>>>>>>>>

-----Original Message-----
From: Conover, Simanti [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 02, 2007 2:16 PM
To: Githa Ramalingam; Atsuhiko Yamanaka; [email protected]
Cc: Howard Harris
Subject: RE: [JSch-users] Using tunneling

I tried a different port for SFTP and it works, not so sure about ssh,
although it should 


Simanti Olive
Eswitch Engineer III - Santa Cruz
831-4576154

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Githa
Ramalingam
Sent: Thursday, November 01, 2007 12:03 PM
To: 'Githa Ramalingam'; 'Atsuhiko Yamanaka';
[email protected]
Cc: 'Howard Harris'
Subject: Re: [JSch-users] Using tunneling

Hi,

Can jsch connect to anyother port than 22?

It looks like whenever I change to port other than 22 it is not able to
connect.

Please let me know how to get passed this.

Thanks
Githa

-----Original Message-----
From: Githa Ramalingam [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 12:45 PM
To: 'Atsuhiko Yamanaka'; '[email protected]'
Subject: Using tunneling

Hi,

I need to connect from my network to another network. So I created a
tunnel from my server like


Ssh -L 2022:yy.yyy.yyy.yy:22 [EMAIL PROTECTED]

With this setting when I ssh to my localhost at port 2022 I am getting
forwarded to the yy.yyy.yyy.yy.

Manually it is working when I do ssh -p 2022 [EMAIL PROTECTED]


Now my question is through the application, where I use the jsch, it is
not working.

How can I figure out where it is getting throwed off?
Is there a command line utility in jsch through which I can verify that
the tunnel is working?

Your help will be greatly appreciated.

Thanks
Githa


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to