Ivan Fernandez Calvo Thank you for all your updates on this issue. Yes, I'm 1000% sure that it's the PRIVATE key(not PUBLIC) that I'm copying into the SSH credential field that asks for the PRIVATE key. I've created another keypair(61356-key & 61356-key.pub) and able to ssh without issue from the Master to the Build(slave) system using this test keypair. However, the same keypair isn't working when used by the shh credential plugin to launch the build agent. I've attached the keypair for your usage/visibility. If this is an issue with copying/pasting the keypair with added Unix line breaks, then what is a workaround for this? I'm a Unix guy so I copy the PRIVATE key from my Putty terminal directly into the SSH credential field. Is there another way of doing this to test this theory? Other than that, we're currently running RHEL7.8:
$ ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
We also run security McAfee software that may potentially be an issue when creating the keypair:
# systemctl status mfeespd.service; systemctl status mfetpd.service
● mfeespd.service - McAfee Endpoint Security Platform for Linux
Loaded: loaded (/usr/lib/systemd/system/mfeespd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-04-15 14:13:48 CDT; 5 days ago
Docs: man:mfeespd(8)
Main PID: 4574 (mfeespd)
Tasks: 9
Memory: 2.9M
CGroup: /system.slice/mfeespd.service
└─4574 /opt/McAfee/ens/esp/bin/mfeespdApr 15 14:13:46 ansible-baseline-rhel7-test.uscis.dhs.gov systemd[1]: Starting M...
Apr 15 14:13:46 ansible-baseline-rhel7-test.uscis.dhs.gov prepare-mfeesp.sh[4561]: ...
Apr 15 14:13:48 ansible-baseline-rhel7-test.uscis.dhs.gov systemd[1]: Started Mc...
Hint: Some lines were ellipsized, use -l to show in full.
● mfetpd.service - McAfee Endpoint Security for Linux Threat Prevention
Loaded: loaded (/usr/lib/systemd/system/mfetpd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-04-15 14:13:49 CDT; 5 days ago
Docs: man:mfetpd(8)
Main PID: 4732 (mfetpd)
Tasks: 49
Memory: 1.4G
CGroup: /system.slice/mfetpd.service
├─ 4732 /opt/McAfee/ens/tp/bin/mfetpd
├─ 4777 /opt/McAfee/ens/tp/bin/mfetpd
├─20076 /opt/McAfee/ens/tp/bin/mfetpd
└─20084 /opt/McAfee/ens/tp/bin/mfetpdApr 15 14:13:49 ansible-baseline-rhel7-test.uscis.dhs.gov systemd[1]: Starting M...
Apr 15 14:13:49 ansible-baseline-rhel7-test.uscis.dhs.gov systemd[1]: Started Mc...
Apr 15 14:13:50 ansible-baseline-rhel7-test.uscis.dhs.gov mfetpd[4732]: error: F...
Hint: Some lines were ellipsized, use -l to show in full.
However, the keypair works when I use it to ssh from the shell. |