Configure security for fetching and pushing

In order to fetch and push between servers, the respective servers must have authentication and access permissions configured correctly:

  • The user name on the remote server must be the same as the user name on the local server. This will be the case by default unless you have specified the RemoteUser field in the remote server’s remote spec.
  • The user must exist on the remote server.
  • The user must have read (fetch) and write (push) permission on the remote server.
  • The server.allowpush and server.allowfetch configuration settings must be set to on (they’re off by default) on both the remote server and the local server. See the command p4 help configurables for more information.
  • The user must be logged into the remote server via p4 login -r.