鋼鐵直男馬克
遠端 Debian 主機上的 A 帳號可以用 key 登入,剛剛用 ssh-copy-id 把 public key 傳給 B 帳號後,ssh 還是一直跳輸入密碼。/var/log/auth.log 說我 /home/B/.ssh 的權限不對,才發現不知道幾百年前中邪,把 .ssh 的 group 改成 git,chown B:B .ssh 就好了XD
載入新的回覆