Questions regarding Github user key – private key placement



I have configured Github user key for my CircleCI v2 project.

From the virtual machine, I am able to run ssh -vT successfully.

However I need to be able to use this key within a Docker container running on the virtual machine. I have not been able to identify where the Github user key gets placed within the virtual machine environment.

See the following log output from the virtual machine. I expected to see a file path after “Offering RSA public key.”

debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key:
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to ([]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Hi davisshaver! You’ve successfully authenticated, but GitHub does not provide shell access.
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3312, received 1872 bytes, in 0.1 seconds
Bytes per second: sent 51648.3, received 29192.5
debug1: Exit status 1

Where is this key located? How can I access this file so I may sync it to the Docker container?

See related issue in Lando repo. (Lando is a tool based on Docker Compose for developing sites based on the Pantheon platform.)


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.