SSH: user prompted for git’s password
Problem | Solution |
---|---|
git clone git@ConnectorHost/gD1/repo8
causes the user to be prompted for git’s password: Cloning into 'repo8'…
git@ConnectorHost's password:
|
Try one or more of the following: 1: Run
list user gconn-user * //...
See p4 protect in Helix Core Command-Line (P4) Reference. 2: Run
p4 show-permission -u gconn-user -d gD1
If not, run
p4 grant-permission -p admin -d gD1 -u gconn-user * //...
See p4 grant-permission in Helix Core Command-Line (P4) Reference. 3: Add the user’s SSH public key to the Git Connector:
p4 pubkey -i -u user < id_rsa.pub
and wait ten minutes for the Git Connector to update the Helix Core Server. |