website rev 42
Add Dropbear SSH to Handbook (en) and fix typos
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat May 10 17:14:02 2008 +0000 (2008-05-10) |
parents | b7363623c8eb |
children | a41653d22e7c |
files | en/about/index.html en/doc/handbook/chroot-env.html en/doc/handbook/index.html en/doc/handbook/secure-server.html en/doc/handbook/web-server.html en/index.html |
line diff
1.1 --- a/en/about/index.html Sat May 07 21:03:21 2011 +0000 1.2 +++ b/en/about/index.html Sat May 10 17:14:02 2008 +0000 1.3 @@ -127,7 +127,7 @@ 1.4 1.5 </ul> 1.6 <p> 1.7 -Thanks to everyone for supporting us. 1.8 +Thanks to everyone for support. 1.9 </p> 1.10 1.11 <!-- End of content with round corner -->
2.1 --- a/en/doc/handbook/chroot-env.html Sat May 07 21:03:21 2011 +0000 2.2 +++ b/en/doc/handbook/chroot-env.html Sat May 10 17:14:02 2008 +0000 2.3 @@ -16,6 +16,7 @@ 2.4 <div id="header"> 2.5 <div id="quicknav" align="right"> 2.6 <a name="top"></a> 2.7 + <a href="secure-server.html">Secure SHell (SSH)</a> | 2.8 <a href="index.html">Table of contents</a> 2.9 </div> 2.10 <h1><font color="#3e1220">SliTaz Handbook (en)</font></h1>
3.1 --- a/en/doc/handbook/index.html Sat May 07 21:03:21 2011 +0000 3.2 +++ b/en/doc/handbook/index.html Sat May 10 17:14:02 2008 +0000 3.3 @@ -51,6 +51,7 @@ 3.4 image of LiveCD.</li> 3.5 <li><a href="web-server.html">Web server</a> - Configure and use the LightTPD web server.</li> 3.6 <li><a href="chroot-env.html">Chroot Environment</a> - Build a chroot to protect the host system.</li> 3.7 + <li><a href="secure-server.html">Secure SHell (SSH)</a> - Secure login using Dropbear SSH client/server.</li> 3.8 </ul> 3.9 3.10 <h3>About this Handbook</h3>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/en/doc/handbook/secure-server.html Sat May 10 17:14:02 2008 +0000 4.3 @@ -0,0 +1,130 @@ 4.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4.5 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>SliTaz Handbook (en) - Template</title> 4.6 + 4.7 + 4.8 + 4.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 4.10 + <meta name="description" content="slitaz English handbook" /> 4.11 + <meta name="expires" content="never" /> 4.12 + <meta name="modified" content="2008-02-26 18:30:00" /> 4.13 + <meta name="publisher" content="www.slitaz.org" /> 4.14 + <meta name="author" content="Christophe Lincoln" /> 4.15 + <link rel="shortcut icon" href="favicon.ico" /> 4.16 + <link rel="stylesheet" type="text/css" href="book.css" /></head><body bgcolor="#ffffff"> 4.17 + 4.18 +<!-- Header and quick navigation --> 4.19 +<div id="header"> 4.20 +<div id="quicknav" align="right"> 4.21 + <a name="top"></a> 4.22 + <a href="index.html">Table of contents</a> 4.23 +</div> 4.24 +<h1><font color="#3e1220">SliTaz Handbook (en)</font></h1> 4.25 +</div> 4.26 + 4.27 +<!-- Content. --> 4.28 +<div id="content"> 4.29 +<div class="content-right"></div> 4.30 + 4.31 +<h2><font color="#df8f06">Secure SHell (SSH)</font></h2> 4.32 + 4.33 +<ul> 4.34 + <li><a href="#about">About Dropbear.</a></li> 4.35 + <li><a href="#dbclient">Connecting to a remote host.</a> - (dbclient).</li> 4.36 + <li><a href="#scp">Transfer files</a> - (scp).</li> 4.37 + <li><a href="#dropbearkey">Generate keys rsa/dss.</a> - (dropbearkey).</li> 4.38 + <li><a href="#start-stop-restart">Start, stop, restart SSH server.</a></li> 4.39 +</ul> 4.40 + 4.41 +<a name="about"></a> 4.42 +<h3>About Dropbear</h3> 4.43 +<p> 4.44 +Control and administer remotely with the Dropbear SSH secure server. Dropbear is a small SSH client/server 4.45 +supporting SSH 2, it's compatible with OpenSSH and uses ~/.ssh/authorized_keys for the management of public keys. 4.46 +Dropbear also provides it's own version of <code>scp</code>, allowing you to copy files 4.47 +between remote machines in a secure manner. 4.48 +</p> 4.49 +<p> 4.50 +Project website: 4.51 +<a href="http://matt.ucc.asn.au/dropbear/dropbear.html">matt.ucc.asn.au/dropbear/dropbear.html</a> 4.52 +</p> 4.53 + 4.54 +<a name="dbclient"></a> 4.55 +<h3>Connecting to a remote host with dbclient</h3> 4.56 +<p> 4.57 +The configuration files for the SSH client are located in the ~/.ssh directory of each user, this contains 4.58 +the authorized_keys and known_hosts files. The directory ~/.ssh and known_hosts file are automatically created 4.59 +the first time you run the Dropbear server. 4.60 +</p> 4.61 +<p> 4.62 +To connect to a remote host using the user and machine name: 4.63 +</p> 4.64 +<pre> $ dbclient user@machine.org 4.65 +</pre> 4.66 +<p> 4.67 +You can also connect using the IP address of the machine: 4.68 +</p> 4.69 +<pre> $ dbclient user@192.168.0.2 4.70 +</pre> 4.71 + 4.72 +<a name="scp"></a> 4.73 +<h3>Transfer of remote files with scp</h3> 4.74 +<p> 4.75 +To copy a file from your computer to another, scp can be utilized in the following way. To copy a file 4.76 +named page.html to a remote directory of the user (don't forget the <code>:</code> after the machine name or 4.77 +IP address): 4.78 +</p> 4.79 +<pre> $ scp page.html user@machine.org:Folder/Sub-Folder 4.80 +</pre> 4.81 +<p> 4.82 +Copy a file from a remote machine to your local machine: 4.83 +</p> 4.84 +<pre> $ scp user@machine.org:Folder/Sub-Folder/page.html /path/your/machine 4.85 +</pre> 4.86 + 4.87 +<a name="dropbearkey"></a> 4.88 +<h3>Generate rsa/dss keys with dropbearkey</h3> 4.89 +<p> 4.90 +Dropbear provides <code>dropbearkey</code> to generate the protected keys rsa 4.91 +and dss. Note that when you start the server for the first time, secure keys will be 4.92 +automatically generated if they don't already exist. You can use <code>dropbearkey</code> with 4.93 +the following argurments: 4.94 +</p> 4.95 +<pre> # dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key 4.96 + # dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key 4.97 +</pre> 4.98 + 4.99 +<a name="start-stop-restart"></a> 4.100 +<h3>Start, stop, restart the SSH server</h3> 4.101 +<p> 4.102 +By default SliTaz will not start the SSH server at boot, to be launched automatically <code>dropbear</code> 4.103 +must be added to the variable RUN_DAEMONS in the <code>/etc/rcS.conf</code> file. To start, stop or restart 4.104 +the SSH server; use the following commands: <code>/etc/init.d/dropbear [start|stop|restart]</code>. 4.105 +Example to start the server: 4.106 +</p> 4.107 +<pre> # /etc/init.d/dropbear start 4.108 +</pre> 4.109 +<p> 4.110 +Note that the server supports the passing of various options when launched. To change the default values, 4.111 +simple modify the daemons configuration file <code>/etc/daemons.conf</code>. 4.112 +</p> 4.113 + 4.114 +<!-- End of content --> 4.115 +</div> 4.116 + 4.117 +<!-- Footer. --> 4.118 +<div id="footer"> 4.119 + <div class="footer-right"></div> 4.120 + <a href="#top">Top of the page</a> | 4.121 + <a href="http://www.slitaz.org/en/doc/handbook/index.html">Table of contents</a> 4.122 +</div> 4.123 + 4.124 +<div id="copy"> 4.125 + Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> - 4.126 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 4.127 + Documentation is under 4.128 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 4.129 + and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>. 4.130 +</div> 4.131 + 4.132 +</body></html> 4.133 +
5.1 --- a/en/doc/handbook/web-server.html Sat May 07 21:03:21 2011 +0000 5.2 +++ b/en/doc/handbook/web-server.html Sat May 10 17:14:02 2008 +0000 5.3 @@ -164,7 +164,7 @@ 5.4 Now you can configure the modules by specifying the debug level and method (<code>plain</code>) and the 5.5 path to the file containing a list of names using a protected password to access the directories. You must also 5.6 define the directories that require authorization. In this example we'll protect the <code>admin/</code> directory 5.7 -and authorise it's access to user hacker (<code>user=hacker</code>): 5.8 +and authorize it's access to user hacker (<code>user=hacker</code>): 5.9 </p> 5.10 <pre class="script"># Authentification for protected directory. 5.11 auth.debug = 2
6.1 --- a/en/index.html Sat May 07 21:03:21 2011 +0000 6.2 +++ b/en/index.html Sat May 10 17:14:02 2008 +0000 6.3 @@ -79,7 +79,7 @@ 6.4 SQLite database, rescue tools, IRC client, SSH client/server powered by 6.5 Dropbear, X window system, JWM (Joe's Window Manager), gFTP, Geany IDE, 6.6 Mozilla Firefox, Alsaplayer, Gparted, a sound file éditor and much more. 6.7 -SliTaz's ISO image will always fit on less than 30 Mb, to try and give you a 6.8 +SliTaz's ISO image will always fit on less than 30 MB, to try and give you a 6.9 reasonable selection of software. 6.10 <a href="about/">More information...</a> 6.11 </p>