Browse Source

git ssh

master
zeus 4 years ago
parent
commit
6ef8ad5338
  1. 1
      swarmlab/files/help/HowTo-gitea-ssh.adoc
  2. 5
      swarmlab/files/help/HowTo-gitea-ssh.adoc.html
  3. 191
      swarmlab/files/help/HowTo-gitea-ssh.adoc.pdf
  4. 6
      swarmlab/files/help/HowTo-gitea.adoc
  5. 19
      swarmlab/files/help/HowTo-gitea.adoc.html
  6. 1421
      swarmlab/files/help/HowTo-gitea.adoc.pdf

1
swarmlab/files/help/HowTo-gitea-ssh.adoc

@ -57,6 +57,7 @@ ssh-keygen -t rsa -b 4096 -C "your_email@swarmlab.io"
== Adding your SSH key to the ssh-agent
vim /home/user/.ssh/config
[source, bash]
----

5
swarmlab/files/help/HowTo-gitea-ssh.adoc.html

@ -547,6 +547,9 @@ Using the SSH protocol, you can connect and authenticate to remote servers and s
<div class="sect1">
<h2 id="_adding_your_ssh_key_to_the_ssh_agent">2. Adding your SSH key to the ssh-agent</h2>
<div class="sectionbody">
<div class="paragraph">
<p>vim /home/user/.ssh/config</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-bash" data-lang="bash">Host git.swarmlab.io
@ -615,7 +618,7 @@ Using the SSH protocol, you can connect and authenticate to remote servers and s
</div>
<div id="footer">
<div id="footer-text">
Last updated 2020-09-18 19:38:38 UTC
Last updated 2020-12-06 18:44:39 UTC
</div>
</div>
</body>

191
swarmlab/files/help/HowTo-gitea-ssh.adoc.pdf

@ -6,8 +6,8 @@
/Keywords (iot, swarm)
/Creator (Asciidoctor PDF 1.5.0.beta.5, based on Prawn 2.2.2)
/Producer (Apostolos rootApostolos@swarmlab.io)
/ModDate (D:20200918193838+00'00')
/CreationDate (D:20200918194034+00'00')
/ModDate (D:20201206184439+00'00')
/CreationDate (D:20201206184844+00'00')
>>
endobj
2 0 obj
@ -721,7 +721,7 @@ endobj
[7 0 R /XYZ 0 409.5129 null]
endobj
16 0 obj
<< /Length 3791
<< /Length 3952
>>
stream
q
@ -736,32 +736,43 @@ BT
[<322e2041> 20.0195 <6464696e6720796f757220535348206b> 20.0195 <657920746f20746865207373682d6167656e74>] TJ
ET
0.0 0.0 0.0 SCN
0.0 0.0 0.0 scn
0.2 0.2 0.2 scn
0.2 0.2 0.2 SCN
BT
48.24 753.206 Td
/F3.0 10.5 Tf
<76696d202f686f6d652f757365722f2e7373682f636f6e666967> Tj
ET
0.0 0.0 0.0 SCN
0.0 0.0 0.0 scn
q
0.9608 0.9608 0.9608 scn
52.24 765.17 m
543.04 765.17 l
545.2491 765.17 547.04 763.3791 547.04 761.17 c
547.04 658.73 l
547.04 656.5209 545.2491 654.73 543.04 654.73 c
52.24 654.73 l
50.0309 654.73 48.24 656.5209 48.24 658.73 c
48.24 761.17 l
48.24 763.3791 50.0309 765.17 52.24 765.17 c
52.24 737.39 m
543.04 737.39 l
545.2491 737.39 547.04 735.5991 547.04 733.39 c
547.04 630.95 l
547.04 628.7409 545.2491 626.95 543.04 626.95 c
52.24 626.95 l
50.0309 626.95 48.24 628.7409 48.24 630.95 c
48.24 733.39 l
48.24 735.5991 50.0309 737.39 52.24 737.39 c
h
f
0.8 0.8 0.8 SCN
0.75 w
52.24 765.17 m
543.04 765.17 l
545.2491 765.17 547.04 763.3791 547.04 761.17 c
547.04 658.73 l
547.04 656.5209 545.2491 654.73 543.04 654.73 c
52.24 654.73 l
50.0309 654.73 48.24 656.5209 48.24 658.73 c
48.24 761.17 l
48.24 763.3791 50.0309 765.17 52.24 765.17 c
52.24 737.39 m
543.04 737.39 l
545.2491 737.39 547.04 735.5991 547.04 733.39 c
547.04 630.95 l
547.04 628.7409 545.2491 626.95 543.04 626.95 c
52.24 626.95 l
50.0309 626.95 48.24 628.7409 48.24 630.95 c
48.24 733.39 l
48.24 735.5991 50.0309 737.39 52.24 737.39 c
h
S
Q
@ -769,7 +780,7 @@ Q
0.2 0.2 0.2 SCN
BT
59.24 742.345 Td
59.24 714.565 Td
/F5.0 11 Tf
<486f7374206769742e737761726d6c61622e696f> Tj
ET
@ -780,7 +791,7 @@ ET
0.2 0.2 0.2 SCN
BT
59.24 727.605 Td
59.24 699.825 Td
/F5.0 11 Tf
<ca202020486f73744e616d65206769742e737761726d6c61622e696f> Tj
ET
@ -791,7 +802,7 @@ ET
0.2 0.2 0.2 SCN
BT
59.24 712.865 Td
59.24 685.085 Td
/F5.0 11 Tf
<ca20202050726566657272656461757468656e7469636174696f6e73207075626c69636b6579> Tj
ET
@ -802,7 +813,7 @@ ET
0.2 0.2 0.2 SCN
BT
59.24 698.125 Td
59.24 670.345 Td
/F5.0 11 Tf
<ca2020204964656e7469747946696c65202f686f6d652f757365722f2e7373682f66696c655f7373685f6b657920> Tj
ET
@ -813,7 +824,7 @@ ET
0.6941 0.1294 0.2745 SCN
BT
312.24 698.125 Td
312.24 670.345 Td
/F5.1 11 Tf
<21> Tj
ET
@ -824,7 +835,7 @@ ET
0.2 0.2 0.2 SCN
BT
59.24 683.385 Td
59.24 655.605 Td
/F5.0 11 Tf
<ca2020205573657220676974> Tj
ET
@ -835,7 +846,7 @@ ET
0.2 0.2 0.2 SCN
BT
59.24 668.645 Td
59.24 640.865 Td
/F5.0 11 Tf
<ca202020506f72742032323232> Tj
ET
@ -846,7 +857,7 @@ ET
0.6941 0.1294 0.2745 SCN
BT
50.865 637.005 Td
50.865 609.225 Td
/F5.1 10.5 Tf
<21> Tj
ET
@ -857,7 +868,7 @@ ET
0.2 0.2 0.2 SCN
BT
63.99 636.766 Td
63.99 608.986 Td
/F3.0 10.5 Tf
[<6b> 20.0195 <65792070617468>] TJ
ET
@ -868,7 +879,7 @@ ET
0.2 0.2 0.2 SCN
BT
48.24 592.654 Td
48.24 564.874 Td
/F1.0 22 Tf
[<332e2041> 20.0195 <6464696e672061206e657720535348206b> 20.0195 <657920746f20796f7572>] TJ
ET
@ -879,7 +890,7 @@ ET
0.2 0.2 0.2 SCN
BT
48.24 562.734 Td
48.24 534.954 Td
/F1.0 22 Tf
[<53> 9.7656 <7761726d6c61622e696f206163636f756e74>] TJ
ET
@ -892,7 +903,7 @@ ET
0.2 0.2 0.2 SCN
BT
56.8805 533.546 Td
56.8805 505.766 Td
/F3.0 10.5 Tf
<a5> Tj
ET
@ -905,7 +916,7 @@ ET
0.2 0.2 0.2 SCN
BT
66.24 533.546 Td
66.24 505.766 Td
/F3.0 10.5 Tf
[<436f70> 20.0195 <792074686520535348206b> 20.0195 <657920746f20796f757220636c6970626f6172642e>] TJ
ET
@ -918,7 +929,7 @@ ET
0.2 0.2 0.2 SCN
BT
56.8805 511.766 Td
56.8805 483.986 Td
/F3.0 10.5 Tf
<a5> Tj
ET
@ -931,7 +942,7 @@ ET
0.2 0.2 0.2 SCN
BT
66.24 511.766 Td
66.24 483.986 Td
/F3.0 10.5 Tf
<496e207468652075707065722d726967687420636f726e6572206f6620224769742053657276696365222c20636c69636b2053657474696e67732e> Tj
ET
@ -940,7 +951,7 @@ ET
0.0 0.0 0.0 scn
q
201.75 0.0 0.0 286.5 48.24 209.45 cm
201.75 0.0 0.0 286.5 48.24 181.67 cm
/I1 Do
Q
@ -949,7 +960,7 @@ Q
0.2 0.2 0.2 SCN
BT
56.8805 185.486 Td
56.8805 157.706 Td
/F3.0 10.5 Tf
<a5> Tj
ET
@ -962,7 +973,7 @@ ET
0.2 0.2 0.2 SCN
BT
66.24 185.486 Td
66.24 157.706 Td
/F3.0 10.5 Tf
[<496e2074686520757365722073657474696e6773206d656e6f752c20636c69636b20225353482f475047206b> 20.0195 <657973222e>] TJ
ET
@ -1004,9 +1015,9 @@ endobj
/Contents 16 0 R
/Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/Font << /F1.0 8 0 R
/F3.0 12 0 R
/F5.0 14 0 R
/F5.1 19 0 R
/F3.0 12 0 R
>>
/XObject << /I1 21 0 R
/Stamp2 40 0 R
@ -1029,7 +1040,7 @@ endobj
>>
endobj
20 0 obj
[17 0 R /XYZ 0 620.95 null]
[17 0 R /XYZ 0 593.17 null]
endobj
21 0 obj
<< /Type /XObject
@ -1370,7 +1381,7 @@ endobj
/Parent 32 0 R
/Count 0
/Prev 36 0 R
/Dest [17 0 R /XYZ 0 620.95 null]
/Dest [17 0 R /XYZ 0 593.17 null]
>>
endobj
38 0 obj
@ -1779,59 +1790,59 @@ xref
0000012623 00000 n
0000012795 00000 n
0000012840 00000 n
0000016684 00000 n
0000017062 00000 n
0000017106 00000 n
0000017278 00000 n
0000017322 00000 n
0000027409 00000 n
0000065914 00000 n
0000066754 00000 n
0000067094 00000 n
0000067264 00000 n
0000067401 00000 n
0000067539 00000 n
0000067688 00000 n
0000067838 00000 n
0000016845 00000 n
0000017223 00000 n
0000017267 00000 n
0000017439 00000 n
0000017483 00000 n
0000027570 00000 n
0000066075 00000 n
0000066915 00000 n
0000067255 00000 n
0000067425 00000 n
0000067562 00000 n
0000067700 00000 n
0000067849 00000 n
0000067999 00000 n
0000068161 00000 n
0000068235 00000 n
0000068565 00000 n
0000068764 00000 n
0000068993 00000 n
0000069269 00000 n
0000069580 00000 n
0000069655 00000 n
0000069925 00000 n
0000070195 00000 n
0000077325 00000 n
0000077544 00000 n
0000078906 00000 n
0000079820 00000 n
0000087878 00000 n
0000088092 00000 n
0000089454 00000 n
0000090369 00000 n
0000091512 00000 n
0000091734 00000 n
0000092042 00000 n
0000093180 00000 n
0000098107 00000 n
0000098320 00000 n
0000099682 00000 n
0000100596 00000 n
0000102600 00000 n
0000102813 00000 n
0000103116 00000 n
0000104031 00000 n
0000109461 00000 n
0000109680 00000 n
0000110040 00000 n
0000068160 00000 n
0000068322 00000 n
0000068396 00000 n
0000068726 00000 n
0000068925 00000 n
0000069154 00000 n
0000069430 00000 n
0000069741 00000 n
0000069816 00000 n
0000070086 00000 n
0000070356 00000 n
0000077486 00000 n
0000077705 00000 n
0000079067 00000 n
0000079981 00000 n
0000088039 00000 n
0000088253 00000 n
0000089615 00000 n
0000090530 00000 n
0000091673 00000 n
0000091895 00000 n
0000092203 00000 n
0000093341 00000 n
0000098268 00000 n
0000098481 00000 n
0000099843 00000 n
0000100757 00000 n
0000102761 00000 n
0000102974 00000 n
0000103277 00000 n
0000104192 00000 n
0000109622 00000 n
0000109841 00000 n
0000110201 00000 n
trailer
<< /Size 65
/Root 2 0 R
/Info 1 0 R
>>
startxref
110954
111115
%%EOF

6
swarmlab/files/help/HowTo-gitea.adoc

@ -111,6 +111,12 @@ Try again!!!
== workflow
[CAUTION]
====
Write Access is *ONLY* with "SSH Key-Based Authentication" Allowed
http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/files/help/HowTo-gitea-ssh.adoc.html[SSH Key-Based Authentication]
====
=== add & commit

19
swarmlab/files/help/HowTo-gitea.adoc.html

@ -625,6 +625,23 @@ sudo apt install git</code></pre>
<div class="sect1">
<h2 id="_workflow">3. workflow</h2>
<div class="sectionbody">
<div class="admonitionblock caution">
<table>
<tr>
<td class="icon">
<i class="fa icon-caution" title="Caution"></i>
</td>
<td class="content">
<div class="paragraph">
<p>Write Access is <strong>ONLY</strong> with "SSH Key-Based Authentication" Allowed</p>
</div>
<div class="paragraph">
<p><a href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/files/help/HowTo-gitea-ssh.adoc.html">SSH Key-Based Authentication</a></p>
</div>
</td>
</tr>
</table>
</div>
<div class="sect2">
<h3 id="_add_commit">3.1. add &amp; commit</h3>
<div class="paragraph">
@ -811,7 +828,7 @@ Using the SSH protocol, you can connect and authenticate to remote servers and s
</div>
<div id="footer">
<div id="footer-text">
Last updated 2020-09-18 20:01:01 UTC
Last updated 2020-12-06 18:43:12 UTC
</div>
</div>
</body>

1421
swarmlab/files/help/HowTo-gitea.adoc.pdf

File diff suppressed because it is too large
Loading…
Cancel
Save