[
https://issues.apache.org/jira/browse/SCM-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961422#comment-17961422
]
ASF GitHub Bot commented on SCM-424:
------------------------------------
jira-importer opened a new issue, #636:
URL: https://github.com/apache/maven-scm/issues/636
**[Klaus
Brunner](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=klaus.brunner)**
opened
**[SCM-424](https://issues.apache.org/jira/browse/SCM-424?redirect=false)** and
commented
ExtConnection apparently has all the necessary stuff in place to initiate an
"ext using ssh" connection on its own, without an external ssh command.
However, there seems to be no way of setting the password for such connections:
ext URLs are fixed to 4 tokens so you can set a username, but not a password
(see AbstractCvsScmProvider - not misleading message that there are "too few
tokens" when in fact there may be too many....). It's also not retrieved from a
system property or such - so it's always "password is null", whatever you do.
Suggestion: try to get the SSH password from a System property.
---
No further details from
[SCM-424](https://issues.apache.org/jira/browse/SCM-424?redirect=false)
> Provide a way of setting password for ext connections using internal ssh code
> -----------------------------------------------------------------------------
>
> Key: SCM-424
> URL: https://issues.apache.org/jira/browse/SCM-424
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: New Feature
> Components: maven-scm-provider-cvs
> Environment: Any
> Reporter: Klaus Brunner
> Priority: Major
>
> ExtConnection apparently has all the necessary stuff in place to initiate an
> "ext using ssh" connection on its own, without an external ssh command.
> However, there seems to be no way of setting the password for such
> connections: ext URLs are fixed to 4 tokens so you can set a username, but
> not a password (see AbstractCvsScmProvider - not misleading message that
> there are "too few tokens" when in fact there may be too many....). It's also
> not retrieved from a system property or such - so it's always "password is
> null", whatever you do.
> Suggestion: try to get the SSH password from a System property.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)