[jbosstools-issues] [JBoss JIRA] (JBIDE-10049) SSH key setup needs to be aligned with openshift as otherwise its very easy to end up with hard to handle auth key errors
Max Rydahl Andersen (Created) (JIRA)
jira-events at lists.jboss.org
Wed Oct 26 11:36:45 EDT 2011
SSH key setup needs to be aligned with openshift as otherwise its very easy to end up with hard to handle auth key errors
-------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-10049
URL: https://issues.jboss.org/browse/JBIDE-10049
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Reporter: Max Rydahl Andersen
Assignee: Andre Dietisheim
Priority: Blocker
Fix For: 3.3.0.M4
It turns out that openshift command line forces a specific key name in their ssh usage and even hardcodes it into ~/.ssh/config for all communication with *.rhcloud.com. this config git/jscsh listens too and thus no matter what the user does in eclipse he will get auth errors unless he actually used the exact same key.
And to make matters worse jcsh only reads this configuration on startup of eclipse so to align keys you have to restart eclipse after doing changes config.
The problem with all this is that if you are a new user using the tools you will bump into problems as soon as you need to use tail-files or add cartridges because we create the key with a different name that the command line tools expect.
To remedy this problem three changes are to be made:
1) on create domain we will check if <sshhome>/libra_id_rsa.pub exist - if it does we prefill the key name with that.
2) New will only create a key named <sshome>/libra_id_rsa(.pub) - if such file already exist it will say it won't create one
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list