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 p4 protect to open the spec form, and add the gconn-user to the protections table with the list permission:

list user gconn-user * //...

See p4 protect in Helix Core Command-Line (P4) Reference.

2: Run p4 show-permission to find out whether the gconn-user has admin permission.

p4 show-permission -u gconn-user -d gD1

If not, run p4 grant-permission to grant admin access to the gconn-user.

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.

See p4 pubkey in Helix Core Command-Line (P4) Reference.