9 ms·
Beware that this may break apps that use SSH as a transport protocol (like rsync and mercurial, depending on your setup of course).
by vaneck 15y ago
Beware that this may break apps that use SSH as a transport protocol (like rsync and mercurial, depending on your setup of course).
- moomerman 15y agoThe extended example 'should' work with those kinds of apps. The trivial example does not.
- pedrocr 15y agoMore specifically it checks for the SSH_ORIGINAL_COMMAND environment variable and executes it if it exists, thus making "ssh myhost <command>" work again.
- Estragon 15y agoYou could set those up with separate identities authorized with forced commands, though I'm not sure how you would secure rsync from abuse.