OK I thought that logins have to be the same.
I will try just when they are different and let's see if it works.
Comment:
It doesn't work. This login is important. I got:
Code:
my_login2@something.net:~/work$ git clone -b folder ssh://gerrit.someaddress:port/somepath
Cloning into 'folder'...
my_login2@gerrit.someaddress: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The problem is with login. It have to be my_login. What my alternatives are?
- install ubuntu system from the beginning now with proper login the same as on first PC and in keygen - a lot of work
- generate new keygen and add it to tens of servers gitlab, gerrit - I would like to avoid this one as a lot of work
- create second account on PC2 with proper login, but there are a lot of problem with lack of access for example to /media/sf_shared
- any better idea? Keep in mind that I use also bitbake so any modification to this command (explicity set login) can't be done:
git clone -b folder ssh://gerrit.someaddress
ort/somepath
as this is how bitbake use it without explicity set login.