Typo fix
This commit is contained in:
parent
9315132636
commit
a900655a51
5 changed files with 21 additions and 21 deletions
|
|
@ -23,9 +23,8 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
/* CSS for syntax highlighting */
|
/* CSS for syntax highlighting */
|
||||||
html { -webkit-text-size-adjust: 100%; }
|
|
||||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
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; }
|
pre > code.sourceCode > span:empty { height: 1.2em; }
|
||||||
.sourceCode { overflow: visible; }
|
.sourceCode { overflow: visible; }
|
||||||
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
||||||
|
|
@ -36,7 +35,7 @@
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
pre > code.sourceCode { white-space: pre-wrap; }
|
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
|
pre.numberSource code
|
||||||
{ counter-reset: source-line 0; }
|
{ counter-reset: source-line 0; }
|
||||||
|
|
@ -139,8 +138,8 @@ rsync</a></li>
|
||||||
<h1 id="establishing-an-ssh-connection">Establishing an ssh
|
<h1 id="establishing-an-ssh-connection">Establishing an ssh
|
||||||
connection</h1>
|
connection</h1>
|
||||||
<p>If network (such as eduroam) is blocking ssh trafic between machines,
|
<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
|
open a Wi-Fi Hotspot on your Linux machine and connect the Android
|
||||||
to it before using <code>rsync</code> or <code>ssh</code>.</p>
|
device to it before using <code>rsync</code> or <code>ssh</code>.</p>
|
||||||
<h2 id="configuring-android">Configuring Android</h2>
|
<h2 id="configuring-android">Configuring Android</h2>
|
||||||
<p>Install the openssh server on Termux.</p>
|
<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>
|
<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
|
<h2 id="connecting-to-android-via-ssh">Connecting to Android via
|
||||||
ssh</h2>
|
ssh</h2>
|
||||||
<p>Make sure you have an ssh key pair on the Linux system. If not
|
<p>Make sure you have an ssh key pair on the Linux system. If not
|
||||||
generate one using <code>ssh-keygen</code></p>
|
generate one using <code>ssh-keygen</code>.</p>
|
||||||
<p>Now connect to Android by <code>ssh</code></p>
|
<p>Now connect to Android by <code>ssh</code>.</p>
|
||||||
<div class="sourceCode" id="cb11"><pre
|
<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"><</span>username<span class="op">></span>@<span class="op"><</span>ip_address<span class="op">></span> -p 8022</span></code></pre></div>
|
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"><</span>username<span class="op">></span>@<span class="op"><</span>ip_address<span class="op">></span> -p 8022</span></code></pre></div>
|
||||||
<h1 id="syncronising-files-with-rsync">Syncronising files with
|
<h1 id="syncronising-files-with-rsync">Syncronising files with
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ termux-setup-storage
|
||||||
# Establishing an ssh connection
|
# Establishing an ssh connection
|
||||||
|
|
||||||
If network (such as eduroam) is blocking ssh trafic between machines, open a Wi-Fi Hotspot
|
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 `rsync` or `ssh`.
|
on your Linux machine and connect the Android device to it before using `rsync` or `ssh`.
|
||||||
|
|
||||||
## Configuring Android
|
## Configuring Android
|
||||||
Install the openssh server on Termux.
|
Install the openssh server on Termux.
|
||||||
|
|
@ -78,9 +78,9 @@ passwd
|
||||||
|
|
||||||
## Connecting to Android via ssh
|
## Connecting to Android via ssh
|
||||||
Make sure you have an ssh key pair on the Linux system.
|
Make sure you have an ssh key pair on the Linux system.
|
||||||
If not generate one using `ssh-keygen`
|
If not generate one using `ssh-keygen`.
|
||||||
|
|
||||||
Now connect to Android by `ssh`
|
Now connect to Android by `ssh`.
|
||||||
```sh
|
```sh
|
||||||
ssh <username>@<ip_address> -p 8022
|
ssh <username>@<ip_address> -p 8022
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,8 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
/* CSS for syntax highlighting */
|
/* CSS for syntax highlighting */
|
||||||
html { -webkit-text-size-adjust: 100%; }
|
|
||||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
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; }
|
pre > code.sourceCode > span:empty { height: 1.2em; }
|
||||||
.sourceCode { overflow: visible; }
|
.sourceCode { overflow: visible; }
|
||||||
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
||||||
|
|
@ -36,7 +35,7 @@
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
pre > code.sourceCode { white-space: pre-wrap; }
|
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
|
pre.numberSource code
|
||||||
{ counter-reset: source-line 0; }
|
{ counter-reset: source-line 0; }
|
||||||
|
|
@ -139,8 +138,8 @@ rsync</a></li>
|
||||||
<h1 id="establishing-an-ssh-connection">Establishing an ssh
|
<h1 id="establishing-an-ssh-connection">Establishing an ssh
|
||||||
connection</h1>
|
connection</h1>
|
||||||
<p>If network (such as eduroam) is blocking ssh trafic between machines,
|
<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
|
open a Wi-Fi Hotspot on your Linux machine and connect the Android
|
||||||
to it before using <code>rsync</code> or <code>ssh</code>.</p>
|
device to it before using <code>rsync</code> or <code>ssh</code>.</p>
|
||||||
<h2 id="configuring-android">Configuring Android</h2>
|
<h2 id="configuring-android">Configuring Android</h2>
|
||||||
<p>Install the openssh server on Termux.</p>
|
<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>
|
<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
|
<h2 id="connecting-to-android-via-ssh">Connecting to Android via
|
||||||
ssh</h2>
|
ssh</h2>
|
||||||
<p>Make sure you have an ssh key pair on the Linux system. If not
|
<p>Make sure you have an ssh key pair on the Linux system. If not
|
||||||
generate one using <code>ssh-keygen</code></p>
|
generate one using <code>ssh-keygen</code>.</p>
|
||||||
<p>Now connect to Android by <code>ssh</code></p>
|
<p>Now connect to Android by <code>ssh</code>.</p>
|
||||||
<div class="sourceCode" id="cb11"><pre
|
<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"><</span>username<span class="op">></span>@<span class="op"><</span>ip_address<span class="op">></span> -p 8022</span></code></pre></div>
|
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"><</span>username<span class="op">></span>@<span class="op"><</span>ip_address<span class="op">></span> -p 8022</span></code></pre></div>
|
||||||
<h1 id="syncronising-files-with-rsync">Syncronising files with
|
<h1 id="syncronising-files-with-rsync">Syncronising files with
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ html {
|
||||||
background: var(--html-background);
|
background: var(--html-background);
|
||||||
background-repeat: repeat-y;
|
background-repeat: repeat-y;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
font-family: serif;
|
||||||
|
font-size: 14pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
@ -246,7 +247,7 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
font-family: monospace;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
hyphens: manual;
|
hyphens: manual;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ html {
|
||||||
background: var(--html-background);
|
background: var(--html-background);
|
||||||
background-repeat: repeat-y;
|
background-repeat: repeat-y;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
font-family: serif;
|
||||||
|
font-size: 14pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
@ -246,7 +247,7 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
font-family: monospace;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
hyphens: manual;
|
hyphens: manual;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue