Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with ssh Permission denied #1816

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

MinyazevR
Copy link
Member

The problem is unclear, as everything worked before. It's possible that rsync with ssh is looking for id_rsa in the wrong location, using the remote server's username ($username) because GitHub, for some reason, is masking the local directory path with asterisks.

debug1: Trying private key: /***/.ssh/id_rsa
debug3: no such identity: /***/.ssh/id_rsa: No such file or directory

Directly changing the path to $HOME (not even -i ~/.ssh/id_rsa) should solve the problem:

debug1: Trying private key: /github/home/.ssh/id_rsa
debug3: sign_and_send_pubkey: RSA SHA256:EhoxIhUXHeC8McWOcWjMiYJyrPYM151VdjZp/uXxkJA
debug3: sign_and_send_pubkey: signing using rsa-sha2-256
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).

@iakov iakov added this to the 2024.1 milestone Nov 14, 2024
@iakov iakov merged commit 0dab55e into trikset:master Nov 14, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants