Change username on Windows

Asked by Lucius

I am working from two different machines using two different windows user names Foo1 and Foo2. I am connecting to the server using SSH. My Bazaar account name is Foo1 and I want to keep using this user name.

On machine Foo2 I am attempted to get authenticated as Foo2 presumably because bazaar uses the %username% environment variable as the default. Auth fails as expected.

I am trying to teach bazaar that I am not Foo2, but Foo1 instead. bzr whoami appears to be the command to use to switch my identity.

However, even though I am able to switch my identity to Foo1 (bzr whoami returns Foo1 <email address hidden>) bazaar is still attempts to use the windows %username% Foo2 instead.

How can I tell bazaar that I am Foo1?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vincent Ladeuil (vila) said :
#1

'bzr whoami' set your committer identity.
Your ssh identity can be either:
- specified in the urls: bzr+ssh://foo1@server/path
- specified in your $HOME/.ssh/config file in a host specific section

Can you help with this problem?

Provide an answer of your own, or ask Lucius for more information if necessary.

To post a message you must log in.