Y
Hacker News
new
|
ask
|
show
|
jobs
by
vaneck
5378 days ago
Beware that this may break apps that use SSH as a transport protocol (like rsync and mercurial, depending on your setup of course).
2 comments
Estragon
5378 days ago
You could set those up with separate identities authorized with forced commands, though I'm not sure how you would secure rsync from abuse.
link
moomerman
5378 days ago
The extended example 'should' work with those kinds of apps. The trivial example does not.
link
pedrocr
5378 days ago
More specifically it checks for the SSH_ORIGINAL_COMMAND environment variable and executes it if it exists, thus making "ssh myhost <command>" work again.
link