[Bug 3733] "forced command options do not match" after key error
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Sep 12 19:17:12 AEST 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3733
--- Comment #2 from m.grosshauser at asteas.com ---
Thanks for the patch! I recompiled with the change and tested.
The error message is gone, and after trying the second key the git pull
succeeds now.
sshd log:
Sep 12 11:10:36 gitlab-test sshd-session[512145]: error: public key
ED25519-SK SHA256:LAoWkl5g/Y1/6CPfePtY4JOWU+iCbKcLdFt9AKK10YM signature
for git from 10.3.3.133 port 47296 rejected: user presence
(authenticator touch) requirement not met
Sep 12 11:10:36 gitlab-test sshd-session[512145]: Accepted publickey
for git from 10.3.3.133 port 47296 ssh2: ED25519
SHA256:j/XSWFUCcL6fWZCgpi5Xf69Jyv8otcmBv5x5/fNDfWs
Sep 12 11:10:36 gitlab-test sshd-session[512147]: Received disconnect
from 10.3.3.133 port 47296:11: disconnected by user
Sep 12 11:10:36 gitlab-test sshd-session[512147]: Disconnected from
user git 10.3.3.133 port 47296
-----
$ GIT_SSH_COMMAND="ssh -v" git pull
...
debug1: Remote: /var/opt/gitlab/.ssh/authorized_keys:2: key options:
command user-rc
debug1: Remote: /var/opt/gitlab/.ssh/authorized_keys:2: key options:
command user-rc
debug1: Remote: /var/opt/gitlab/.ssh/authorized_keys:1: key options:
command user-rc
debug1: Remote: /var/opt/gitlab/.ssh/authorized_keys:1: key options:
command user-rc
debug1: Sending environment.
debug1: channel 0: setting env LC_TIME = "de_AT.UTF-8"
debug1: channel 0: setting env LC_MONETARY = "de_AT.UTF-8"
debug1: channel 0: setting env GIT_PROTOCOL = "version=2"
debug1: channel 0: setting env LC_ADDRESS = "de_AT.UTF-8"
debug1: channel 0: setting env LANG = "en_US.UTF-8"
debug1: channel 0: setting env LC_TELEPHONE = "de_AT.UTF-8"
debug1: channel 0: setting env LC_NAME = "de_AT.UTF-8"
debug1: channel 0: setting env LC_MEASUREMENT = "de_AT.UTF-8"
debug1: channel 0: setting env LC_IDENTIFICATION = "de_AT.UTF-8"
debug1: channel 0: setting env LC_NUMERIC = "de_AT.UTF-8"
debug1: channel 0: setting env LC_PAPER = "de_AT.UTF-8"
debug1: Sending command: git-upload-pack
'infrastructure/documentation.git'
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3472, received 3428 bytes, in 0.1 seconds
Bytes per second: sent 36587.3, received 36123.6
debug1: Exit status 0
Already up to date.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list