如何只允许某些命令通过 SSH 运行并阻止交互式会话?
rsync.net 和 bakop.com 一样。
即这将工作:
ssh <user@host> mkdir test scp <file> <user@host>:test/
这不会:
ssh <user@host>
ssh
ssh ×1