You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2018/12/14 09:59:56 UTC

[GitHub] ahgittin commented on issue #963: disable jclouds authorizePublicKey for extra ssh public key data

ahgittin commented on issue #963: disable jclouds authorizePublicKey for extra ssh public key data
URL: https://github.com/apache/brooklyn-server/pull/963#issuecomment-447275653
 
 
   Just had a report of a user who is disabling the ssh init options and using `extraSsh...` to configure the user's key (in azure, using a cloud api we think).  That set of options required the block that this PR disables.
   
   the system property specified here should let them workaround but we will have issues longer-term if this is disabled.
   
   a solution could be to change the check here, for the case where (1) the ssh command which installs the `extraSsh..` option is disabled and (2) this `extraSsh` field is supplied:
   
   * check whether the cloud API supports the field; if not, fail (extraSshKey not supported when ssh disabled, for this cloud)
   * if keyPair is supplied, also fail that this combo is not supported (max 1 keyPair or extraSsh when ssh disabled)
   * otherwise run the code block this PR excludes
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services