You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Tobias Himstedt (JIRA)" <ji...@apache.org> on 2008/06/11 09:56:45 UTC
[jira] Created: (IVY-836) Improve SSH Compatibility
Improve SSH Compatibility
-------------------------
Key: IVY-836
URL: https://issues.apache.org/jira/browse/IVY-836
Project: Ivy
Issue Type: Improvement
Components: Core
Affects Versions: 2.0.0-beta-2
Reporter: Tobias Himstedt
I send the following already to the user mailing list ....
Currently I'm not able to use ivy:publish in conjunction with ssh on our
server (=> Auth fail). As far as I understood it, it has something to do
with the way the password is handled over and that password authentication
is not enabled on the server.
I digged a bit in the code, also experimented with ant's scp and found
out that if I slightly modify the Code of CfUserInfo in SshCache.java in
a way that it implements also the UIKeyboardInteractive of JSch it works
for me.
private static class CfUserInfo implements UserInfo,
UIKeyboardInteractive {
....
public String[] promptKeyboardInteractive(String
destination,
String name, String instruction, String[]
prompt, boolean[] echo) {
return new String[] { getPassword() };
}
I know that this is not the intended way but in the moment the best I have
as I do not have the ssh server under control.
Is it possible to have this change permanently or even better, is there
some way of configuring this, which I have overseen?
Thanks -- Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-836) SSH resolver doesn't support
keyboard-interactive authentication
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-836:
------------------------------
Description:
I send the following already to the user mailing list ....
Currently I'm not able to use ivy:publish in conjunction with ssh on our
server (=> Auth fail). As far as I understood it, it has something to do
with the way the password is handled over and that password authentication
is not enabled on the server.
I digged a bit in the code, also experimented with ant's scp and found
out that if I slightly modify the Code of CfUserInfo in SshCache.java in
a way that it implements also the UIKeyboardInteractive of JSch it works
for me.
private static class CfUserInfo implements UserInfo,
UIKeyboardInteractive {
....
public String[] promptKeyboardInteractive(String
destination,
String name, String instruction, String[]
prompt, boolean[] echo) {
return new String[] { getPassword() };
}
I know that this is not the intended way but in the moment the best I have
as I do not have the ssh server under control.
Is it possible to have this change permanently or even better, is there
some way of configuring this, which I have overseen?
Thanks -- Tobias
was:
I send the following already to the user mailing list ....
Currently I'm not able to use ivy:publish in conjunction with ssh on our
server (=> Auth fail). As far as I understood it, it has something to do
with the way the password is handled over and that password authentication
is not enabled on the server.
I digged a bit in the code, also experimented with ant's scp and found
out that if I slightly modify the Code of CfUserInfo in SshCache.java in
a way that it implements also the UIKeyboardInteractive of JSch it works
for me.
private static class CfUserInfo implements UserInfo,
UIKeyboardInteractive {
....
public String[] promptKeyboardInteractive(String
destination,
String name, String instruction, String[]
prompt, boolean[] echo) {
return new String[] { getPassword() };
}
I know that this is not the intended way but in the moment the best I have
as I do not have the ssh server under control.
Is it possible to have this change permanently or even better, is there
some way of configuring this, which I have overseen?
Thanks -- Tobias
Summary: SSH resolver doesn't support keyboard-interactive authentication (was: Improve SSH Compatibility)
> SSH resolver doesn't support keyboard-interactive authentication
> ----------------------------------------------------------------
>
> Key: IVY-836
> URL: https://issues.apache.org/jira/browse/IVY-836
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-beta-2
> Reporter: Tobias Himstedt
> Assignee: Maarten Coene
>
> I send the following already to the user mailing list ....
> Currently I'm not able to use ivy:publish in conjunction with ssh on our
> server (=> Auth fail). As far as I understood it, it has something to do
> with the way the password is handled over and that password authentication
> is not enabled on the server.
> I digged a bit in the code, also experimented with ant's scp and found
> out that if I slightly modify the Code of CfUserInfo in SshCache.java in
> a way that it implements also the UIKeyboardInteractive of JSch it works
> for me.
> private static class CfUserInfo implements UserInfo,
> UIKeyboardInteractive {
> ....
> public String[] promptKeyboardInteractive(String
> destination,
> String name, String instruction, String[]
> prompt, boolean[] echo) {
> return new String[] { getPassword() };
> }
> I know that this is not the intended way but in the moment the best I have
> as I do not have the ssh server under control.
> Is it possible to have this change permanently or even better, is there
> some way of configuring this, which I have overseen?
> Thanks -- Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (IVY-836) Improve SSH Compatibility
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene reassigned IVY-836:
---------------------------------
Assignee: Maarten Coene
> Improve SSH Compatibility
> -------------------------
>
> Key: IVY-836
> URL: https://issues.apache.org/jira/browse/IVY-836
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-beta-2
> Reporter: Tobias Himstedt
> Assignee: Maarten Coene
>
> I send the following already to the user mailing list ....
> Currently I'm not able to use ivy:publish in conjunction with ssh on our
> server (=> Auth fail). As far as I understood it, it has something to do
> with the way the password is handled over and that password authentication
> is not enabled on the server.
> I digged a bit in the code, also experimented with ant's scp and found
> out that if I slightly modify the Code of CfUserInfo in SshCache.java in
> a way that it implements also the UIKeyboardInteractive of JSch it works
> for me.
> private static class CfUserInfo implements UserInfo,
> UIKeyboardInteractive {
> ....
> public String[] promptKeyboardInteractive(String
> destination,
> String name, String instruction, String[]
> prompt, boolean[] echo) {
> return new String[] { getPassword() };
> }
> I know that this is not the intended way but in the moment the best I have
> as I do not have the ssh server under control.
> Is it possible to have this change permanently or even better, is there
> some way of configuring this, which I have overseen?
> Thanks -- Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-836) SSH resolver doesn't support
keyboard-interactive authentication
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-836.
-------------------------------
Changed SshCache.java as you suggested.
Thanks for your report!
> SSH resolver doesn't support keyboard-interactive authentication
> ----------------------------------------------------------------
>
> Key: IVY-836
> URL: https://issues.apache.org/jira/browse/IVY-836
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-beta-2
> Reporter: Tobias Himstedt
> Assignee: Maarten Coene
> Fix For: 2.0-RC1
>
>
> I send the following already to the user mailing list ....
> Currently I'm not able to use ivy:publish in conjunction with ssh on our
> server (=> Auth fail). As far as I understood it, it has something to do
> with the way the password is handled over and that password authentication
> is not enabled on the server.
> I digged a bit in the code, also experimented with ant's scp and found
> out that if I slightly modify the Code of CfUserInfo in SshCache.java in
> a way that it implements also the UIKeyboardInteractive of JSch it works
> for me.
> private static class CfUserInfo implements UserInfo,
> UIKeyboardInteractive {
> ....
> public String[] promptKeyboardInteractive(String
> destination,
> String name, String instruction, String[]
> prompt, boolean[] echo) {
> return new String[] { getPassword() };
> }
> I know that this is not the intended way but in the moment the best I have
> as I do not have the ssh server under control.
> Is it possible to have this change permanently or even better, is there
> some way of configuring this, which I have overseen?
> Thanks -- Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.