Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developer:additional_useful_ssh_options [2008/02/22 13:31] henri |
developer:additional_useful_ssh_options [2008/02/27 09:41] henri |
||
---|---|---|---|
Line 2: | Line 2: | ||
- 'from="10.1.1.1"' ( This can be specified within the authorized keys file prior to the command="" option ) | - 'from="10.1.1.1"' ( This can be specified within the authorized keys file prior to the command="" option ) | ||
- | - '[[http://www.inwap.com/mybin/miscunix/?rrsync|SSH Wrapper]]' '[[http://troy.jdmz.net/rsync/index.html#note7|Another Link]]' '[[http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=26|Yet another link]]' '[[http://www.cmdln.org/2008/02/11/restricting-ssh-commands/|and another (quite good tips - some listed below - separate with ',' )]]' | + | - '[[http://www.inwap.com/mybin/miscunix/?rrsync|SSH Wrapper]]' '[[http://troy.jdmz.net/rsync/index.html#note7|Another Link]]' '[[http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=26|Yet another link]]' '[[http://www.cmdln.org/2008/02/11/restricting-ssh-commands/|and another (quite good tips - some listed below - separate with ',' )]]' '[[http://archive.cert.uni-stuttgart.de/suse-security/2003/07/msg00241.html|and another]] |
- '"PermitRootLogin forced-commands-only” in your /etc/ssh/sshd_config' | - '"PermitRootLogin forced-commands-only” in your /etc/ssh/sshd_config' | ||
- 'no-port-forwarding' | - 'no-port-forwarding' | ||
Line 16: | Line 16: | ||
====Possible Wrapper Scripts==== | ====Possible Wrapper Scripts==== | ||
+ | ===Example 1=== | ||
+ | [[http://www.barryodonovan.com/misc/publications/lg/104/|Link to Source]] Copyright (c) 2004, 2005 by Barry O'Donovan. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v3.0 or later (the latest version is presently available at [[http://www.opencontent.org/openpub/]]). | ||
<file> | <file> | ||
#!/bin/sh | #!/bin/sh | ||
Line 31: | Line 33: | ||
esac | esac | ||
</file> | </file> | ||
- | [[http://www.barryodonovan.com/misc/publications/lg/104/|Link to Source]] Copyright (c) 2004, 2005 by Barry O'Donovan. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, vX.Y or later (the latest version is presently available at [[http://www.opencontent.org/openpub/]]). | ||
+ | |||
+ | |||
+ | ===Example 2=== | ||
+ | [[http://troy.jdmz.net/rsync/index.html#note7|Link to Source]] Copyright 2003-2008 Troy Johnson. Released under the terms of the [[http://www.gnu.org/copyleft/gpl.html|GNU GPL]]. | ||
<file> | <file> | ||
#!/bin/sh | #!/bin/sh | ||
Line 64: | Line 69: | ||
esac | esac | ||
</file> | </file> | ||
- | [[http://troy.jdmz.net/rsync/index.html#note7|Link to Source]] Copyright 2003-2008 Troy Johnson. Released under the terms of the [[http://www.gnu.org/copyleft/gpl.html|GNU GPL]]. | ||
- |