ssh install refuses stray arguments before -- and a symlinked authorized_keys (closes #61) #62

Merged
clawbot merged 1 commits from issue-61-ssh-install-refusals into next 2026-10-04 18:25:46 +02:00
1 Commits
Author SHA1 Message Date
clawbot 11a6050ac7 ssh install refuses stray arguments before -- and a symlinked authorized_keys (closes #61)
check / check (push) Failing after 2s
Anything but the host before --, or a second argument when there is no --, used to reach sftp in front of the host; it is now refused before the mnemonic is read or any connection is made. That includes "install -- host", which names no host before --.

The first listing of ~/.ssh is now a long one, ls -n, which the client formats itself whatever the server, so an authorized_keys that is a symlink shows as one. It is refused before any upload, since the rename would have replaced the link and left the file it points at without the key. The README says so.

Model: opus-5-5
2026-10-04 15:58:13 +00:00