-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paramiko SSH key issue #1
Comments
Hi Jason, I've never encountered this error. I run wes_automator fine on my own mac air, so I'm not sure that is the issue. Can you share the steps you took so I can try to recreate the bug? And where exactly you implemented your work-around to get it to work? Also, I looked at the paramiko client.py code and this looks to be the relevant code snippet: (~/miniconda3/envs/wes_automator/lib/python2.7/site-packages/paramiko/client.py lines 755-760): This is raising a no-too-informative SSHException; it could be the key or it could be the username or it could be something else. |
Hi @lentaing As I best I could understand from reading other similar issues, current os x when you run ssh-keygen creates an RSA key with head / tail that is like Steps to recreate
|
Hi Jason, Which Mac OSX version are you on? I'm still on MacOSX Sierra (10.12.6). My computer generates private keys with this header: I googled around and found this paramiko issue- It mentions that at least in an older versions of paramiko, the start of the header mattered (search for "Normally, keys start with this line, and this is what paramiko is checking for:") We're on paramiko version 2.6.0, so I'm not sure if paramiko is still hard-coding this header requirement. But could another work-around be as simple as changing the header and footer to: |
modifying the configs that come from the software team How it works: 1. place all software team files into a new directory 2. run this program, specifying the following: -c [cores] -d [disk size] -l [cimac center] #required -s [somatic_caller] -b [google bucket path] #use {CIMAC_ID} as wildcard for cimac id substutions -w [wes_commit] #required -i [wes_image] #required -r [wes_ref_snapshot] #required -t [trim_soft_clip] -f [directory of wes_automator configs] USE -f to specify the path to the directory in step #1 For each .yaml file in the directory (specified by -f), this program will make the modifications and save it as a new config with '_processed.yaml' added to the name You can then run the _processed.yaml file
Running wes automator on a new environment yields an error
Issue may be exclusive to mac os as I think it partially relates to how keys are labeled and paramiko's assumptions.
@lentaing if users encounter, my workaround was to generate a key in PEM format then log into a VM to propagate that key to the project.
The text was updated successfully, but these errors were encountered: