website diff pt/doc/handbook/secure-server.html @ rev 142

pt: Add newly translated pages (Many thanks Cladinei)
author Paul Issott <paul@slitaz.org>
date Mon Aug 25 22:36:03 2008 +0000 (2008-08-25)
parents
children cb2989313e14
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pt/doc/handbook/secure-server.html	Mon Aug 25 22:36:03 2008 +0000
     1.3 @@ -0,0 +1,134 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
     1.5 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<head>
     1.8 +    <title>SliTaz Handbook (en) - Secure SHell (SSH)</title>
     1.9 +    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    1.10 +    <meta name="description" content="slitaz English handbook" />
    1.11 +    <meta name="expires" content="never" />
    1.12 +    <meta name="modified" content="2008-07-18 05:30:00" />
    1.13 +    <meta name="publisher" content="www.slitaz.org" />
    1.14 +    <meta name="author" content="Christophe Lincoln" />
    1.15 +    <link rel="shortcut icon" href="favicon.ico" />
    1.16 +    <link rel="stylesheet" type="text/css" href="book.css" />
    1.17 +</head>
    1.18 +<body bgcolor="#ffffff">
    1.19 +
    1.20 +<!-- Header and quick navigation -->
    1.21 +<div id="header">
    1.22 +<div id="quicknav" align="right">
    1.23 +    <a name="top"></a>
    1.24 +    <a href="security.html">Security</a> |
    1.25 +    <a href="index.html">Table of contents</a>
    1.26 +</div>
    1.27 +<h1><font color="#3e1220">SliTaz Handbook (en)</font></h1>
    1.28 +</div>
    1.29 +
    1.30 +<!-- Content. -->
    1.31 +<div id="content">
    1.32 +<div class="content-right"></div>
    1.33 +
    1.34 +<h2><font color="#df8f06">Secure SHell (SSH)</font></h2>
    1.35 +
    1.36 +<ul>
    1.37 +    <li><a href="#about">About Dropbear.</a></li>
    1.38 +    <li><a href="#dbclient">Connecting to a remote host</a> - (dbclient).</li>
    1.39 +    <li><a href="#scp">Transfer files</a> - (scp).</li>
    1.40 +    <li><a href="#dropbearkey">Generate keys rsa/dss</a> - (dropbearkey).</li>
    1.41 +    <li><a href="#start-stop-restart">Start, stop, restart SSH server.</a></li>
    1.42 +</ul>
    1.43 +
    1.44 +<a name="about"></a>
    1.45 +<h3>About Dropbear</h3>
    1.46 +<p>
    1.47 +Control and administer remotely with the Dropbear SSH secure server. Dropbear is a small SSH client/server
    1.48 +supporting SSH 2. It's compatible with OpenSSH and uses ~/.ssh/authorized_keys for the management of public keys.
    1.49 +Dropbear also provides it's own version of <code>scp</code>, allowing you to copy files
    1.50 +between machines in a secure manner.
    1.51 +</p>
    1.52 +<p>
    1.53 +Project website:
    1.54 +<a href="http://matt.ucc.asn.au/dropbear/dropbear.html">matt.ucc.asn.au/dropbear/dropbear.html</a>
    1.55 +</p>
    1.56 +
    1.57 +<a name="dbclient"></a>
    1.58 +<h3>Connecting to a remote host with dbclient</h3>
    1.59 +<p>
    1.60 +The configuration files for the SSH client are located in the ~/.ssh directory of each user, this contains
    1.61 +the authorized_keys and known_hosts files. The directory ~/.ssh and known_hosts file are automatically created
    1.62 +the first time you run the Dropbear client (dbclient).
    1.63 +</p>
    1.64 +<p>
    1.65 +To connect to a remote host employing the user and machine name:
    1.66 +</p>
    1.67 +<pre> $ dbclient user@machine.org
    1.68 +</pre>
    1.69 +<p>
    1.70 +You can also connect using the IP address of the machine:
    1.71 +</p>
    1.72 +<pre> $ dbclient user@192.168.0.2
    1.73 +</pre>
    1.74 +
    1.75 +<a name="scp"></a>
    1.76 +<h3>Transfer of remote files with scp</h3>
    1.77 +<p>
    1.78 +To copy a file from one computer to another, scp can be utilized in the following ways. To copy a file
    1.79 +named page.html to a remote directory of the user (don't forget the <code>:</code> after the machine name or 
    1.80 +IP address):
    1.81 +</p>
    1.82 +<pre> $ scp page.html user@machine.org:path/remote/directory
    1.83 +</pre>
    1.84 +<p>
    1.85 +Copy a file from a remote machine to your local machine:
    1.86 +</p>
    1.87 +<pre> $ scp user@machine.org:path/remote/directory/page.html /path/your/directory
    1.88 +</pre>
    1.89 +
    1.90 +<a name="dropbearkey"></a>
    1.91 +<h3>Generate rsa/dss keys with dropbearkey</h3>
    1.92 +<p>
    1.93 +Dropbear provides <code>dropbearkey</code> to generate the protected rsa and
    1.94 +dss keys. Note that when you start the server for the first time, secure keys will be 
    1.95 +automatically generated if they don't already exist. You can use <code>dropbearkey</code> with 
    1.96 +the following argurments:
    1.97 +</p>
    1.98 +<pre> # dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
    1.99 + # dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
   1.100 +</pre>
   1.101 +
   1.102 +<a name="start-stop-restart"></a>
   1.103 +<h3>Start, stop, restart the SSH server</h3>
   1.104 +<p>
   1.105 +By default SliTaz will not start the SSH server at boot. To be launched automatically, <code>dropbear</code> 
   1.106 +must be added to the variable RUN_DAEMONS in the <code>/etc/rcS.conf</code> file. To start, stop or restart
   1.107 +the SSH server, use the following commands: <code>/etc/init.d/dropbear [start|stop|restart]</code>.
   1.108 +Example to start the server:
   1.109 +</p>
   1.110 +<pre> # /etc/init.d/dropbear start
   1.111 +</pre>
   1.112 +<p>
   1.113 +Note that the server supports the passing of various options when launched. To change the default values,
   1.114 +simple modify the daemons configuration file <code>/etc/daemons.conf</code>.
   1.115 +</p>
   1.116 +
   1.117 +<!-- End of content -->
   1.118 +</div>
   1.119 +
   1.120 +<!-- Footer. -->
   1.121 +<div id="footer">
   1.122 +	<div class="footer-right"></div>
   1.123 +	<a href="#top">Top of the page</a> | 
   1.124 +	<a href="index.html">Table of contents</a>
   1.125 +</div>
   1.126 +
   1.127 +<div id="copy">
   1.128 +    Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
   1.129 +    <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
   1.130 +    Documentation is under
   1.131 +    <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
   1.132 +    and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
   1.133 +</div>
   1.134 +
   1.135 +</body>
   1.136 +</html>
   1.137 +