bitnami / vms

Bitnami VMs
https://bitnami.com
Other
200 stars 44 forks source link

[ Bitnami package for GitLab CE - 16.9.2-ce.0-0 ]: Permission denied (publickey) #1447

Closed ZenitSec closed 3 months ago

ZenitSec commented 3 months ago

Platform

Virtual Machine

bndiagnostic ID know more about bndiagnostic ID

b8a0f042-7ac1-c361-34d7-f2cdb11db4b6

bndiagnostic output

I downloaded and installed the virtual machine image on ProxMox. I changed the default passwords and created a test user named 'ciccino'. I generated SSH keys with 'ssh-keygen -t ed25519 -C "test"' and set the public key in the 'ciccino' account.

PS D:> ssh git@192.168.10.158 PTY allocation request failed on channel 0 Welcome to GitLab, @ciccino! Connection to 192.168.10.158 closed.

When I want to clone the test project:

PS D:> git clone git@192.168.10.158:ciccino/test.git Cloning into 'test'... The authenticity of host '192.168.10.158 (192.168.10.158)' can't be established. ED25519 key fingerprint is SHA256:gdkXPw3Uol68cu57yPPWgkaaP5+kyjfn+4Bg+kaiSCQ. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.10.158' (ED25519) to the list of known hosts. git@192.168.10.158: Permission denied (publickey). fatal: Could not read from remote repository.

bndiagnostic was not useful. Could you please tell us why?

did not identify the public key permissions issue even though everything was installed correctly

Describe your issue as much as you can

I've tried everything. But nothing seems to work.

ZenitSec commented 3 months ago

Windows 11 was configured with an Active Directory user with home paths pointing to the NAS, which is a shared resource on the network. This was what prevented proper SSH authentication.