This commit is contained in:
Never 2026-01-13 16:05:16 +01:00
parent 9315132636
commit a900655a51
5 changed files with 21 additions and 21 deletions

View file

@ -23,9 +23,8 @@
vertical-align: middle;
}
/* CSS for syntax highlighting */
html { -webkit-text-size-adjust: 100%; }
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span { line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@ -36,7 +35,7 @@
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
@ -139,8 +138,8 @@ rsync</a></li>
<h1 id="establishing-an-ssh-connection">Establishing an ssh
connection</h1>
<p>If network (such as eduroam) is blocking ssh trafic between machines,
open a Wi-Fi Hotspot on your Linux machine and connect the Andoid device
to it before using <code>rsync</code> or <code>ssh</code>.</p>
open a Wi-Fi Hotspot on your Linux machine and connect the Android
device to it before using <code>rsync</code> or <code>ssh</code>.</p>
<h2 id="configuring-android">Configuring Android</h2>
<p>Install the openssh server on Termux.</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">pkg</span> install openssh</span></code></pre></div>
@ -174,8 +173,8 @@ class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#
<h2 id="connecting-to-android-via-ssh">Connecting to Android via
ssh</h2>
<p>Make sure you have an ssh key pair on the Linux system. If not
generate one using <code>ssh-keygen</code></p>
<p>Now connect to Android by <code>ssh</code></p>
generate one using <code>ssh-keygen</code>.</p>
<p>Now connect to Android by <code>ssh</code>.</p>
<div class="sourceCode" id="cb11"><pre
class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="fu">ssh</span> <span class="op">&lt;</span>username<span class="op">&gt;</span>@<span class="op">&lt;</span>ip_address<span class="op">&gt;</span> -p 8022</span></code></pre></div>
<h1 id="syncronising-files-with-rsync">Syncronising files with

View file

@ -28,7 +28,8 @@ html {
background: var(--html-background);
background-repeat: repeat-y;
background-size: cover;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-family: serif;
font-size: 14pt;
}
body {
@ -246,7 +247,7 @@ blockquote {
}
code {
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
font-family: monospace;
font-size: 85%;
margin: 0;
hyphens: manual;