Why does SCM continue to require a password after executing scm login?
Accepted answer
One other answer
Use the -n flag when you do the scm login, then use the value you used for -n for -r on subsequent scm actions.
Usage: scm login [options]
Options:
--certificate arg - The file that contains the user's login
certificate.
--smartCard - Uses the connected smart card for
authentication.
-c [--cache] - Caches the password on prompt.
-n [--nickname] arg - The nickname of the repository.
-P [--password] arg - The password for the repository.
-r [--repository-uri] arg - The URI that specifies the location of the
repository.
Usage: scm login [options]
Options:
--certificate arg - The file that contains the user's login
certificate.
--smartCard - Uses the connected smart card for
authentication.
-c [--cache] - Caches the password on prompt.
-n [--nickname] arg - The nickname of the repository.
-P [--password] arg - The password for the repository.
-r [--repository-uri] arg - The URI that specifies the location of the
repository.