diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-02-08 22:31:38 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-02-08 22:31:38 +0100 |
commit | 6f783ce01c9356cb3a5100b3e3e2b19921ac17c8 (patch) | |
tree | 2da023b4d5019296a9cb2e43960904811b9c04e4 | |
parent | 09e72697d4d8729f4a5ed3fd5457e64371eadf14 (diff) |
documentation: fix typos, re-articulate example
-rwxr-xr-x | bin/ssh-forcecommand | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ssh-forcecommand b/bin/ssh-forcecommand index a9d359d..b8d647a 100755 --- a/bin/ssh-forcecommand +++ b/bin/ssh-forcecommand @@ -51,7 +51,7 @@ are not secured via password), where a compromise of the remote system could also compromise the local system. To prevent this, you can invoke ssh-forcecommand through the ssh -configuration, which will limit the romet system so that it can only execute a +configuration, which will limit the remote system so that it can only execute a set of statically defined commands. This way, compromising the local system is made much more diffecult. @@ -80,15 +80,15 @@ script, see the examples directory. =head1 USAGE -Assume you have the following line in your forcecommand config: +Assuming you have the following line in your forcecommand config: home = tar -C / -cf - home -Now, on the remote system, run this: +Now, on the remote system, this: ssh user@yourhost home -On your system, this will translate to: +will translate to the following command on the system containing ssh-forcecommand: tar -C / -cf - home |