[問題] ssh (sftp-only,rsync,chroot,pubkey)好多願望一次滿足?

看板Linux作者 (海納百川天下歸心)時間11年前 (2014/09/12 02:10), 11年前編輯推噓1(102)
留言3則, 2人參與, 最新討論串1/1
google & try 了一下整個晚上了 QQ ssh 想要 : 1. 限制 sftp only (不能用shell) : 這項免 2. 可以 rsync 3. chroot 4. 支援 public key auth 請問有辦法全部能做到嗎? rsync 好像一定要有 shell ?? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.251.86 ※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1410459024.A.FBB.html

09/12 02:15, , 1F
rsync要在目標機也實行一個rsync --server
09/12 02:15, 1F
※ 編輯: newversion (140.112.251.86), 09/12/2014 02:35:03 ※ 編輯: newversion (140.112.251.86), 09/12/2014 02:35:26

09/12 15:10, , 2F
ssh登入後強制chroot是可以做到 見http://ppt.cc/JyK~
09/12 15:10, 2F

09/13 02:05, , 3F
34 ssh本身就能辦到 12可以用rssh之類的shell解決
09/13 02:05, 3F
文章代碼(AID): #1K4UMG-x (Linux)