GW-HIVE / PredictMod

PredictMod
MIT License
1 stars 1 forks source link

SSH Access #263

Closed lorikrammer closed 4 months ago

lorikrammer commented 4 months ago

Pat to contact Dacian regarding SSH access error. The server is not accepting my private key.

Relevant context debug1: Reading configuration data /home/lorikrammer/.ssh/config debug1: /home/lorikrammer/.ssh/config line 7: Applying options for hivelab-test debug1: Reading configuration data /etc/ssh/ssh_config

debug3: receive packet: type 51 debug1: Authentications that can continue: publickey debug3: start over, passed a different list publickey debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/lorikrammer/.ssh/id_rsa RSA SHA256:BhTvFB3lRva+RYVt/lnubPjWuH6xn+Pvisdsi5AC6tk explicit debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey debug2: we did not send a packet, disable method debug1: No more authentication methods to try. lorikrammer@hivelab-vm-tst.biochemistry.gwu.edu: Permission denied (publickey).

lorikrammer commented 4 months ago

More context. RE: 2fa for hivelab Hi Lori, Please use the following 2fa codes to login to the hivelab-vm-prd.biochemistry.gwu.edu and/or hivelab-vm-tst.biochemistry.gwu.edu.

23030041 16781364 94234331 14052435

After you successfully login please run the command: google-authenticator -t -D -R 30 -r 1 -W -e 5 -l hivelab -i hivelab to reset the authenticator and set up a 2fa code generator client on your phone or computer.

Both servers use the same 2fa settings, (share the home directory) so you need to reset it only on one of them and it will configure for both of them. The code above is a single use code.

lorikrammer commented 4 months ago

RE: Re: [rtshelp #80986] Checking on ticket status

Hello all,

Picking back up on this thread.

Dacian, Lori has been attempting to SSH into the HIVELAB servers, currently without success. I've helped her set up ssh access and configuration. However, we're seeing permission rejection when running "ssh -vvv" (see trace below, if helpful).

We can confirm that she is using the public key (id_rsa.pub) matching the key on the server, and the identity file we're shipping (id_rsa) should be the correctly paired private file. Unfortunately that's as far as I know to take troubleshooting. Can you please have a look at her ssh access?

Also, I am currently able to ssh into hivelab-vm-tst without being on the VPN. Is that intentional?

Thank you, Pat

lorikrammer commented 4 months ago

Closing out this ticket as I have access to the SSH servers. Depending on docker permissions we may need to reconfigure things; I'll create a separate ticket for that.