site/wiki/ssh.php

13 lines
703 B
PHP

<?php include 'header.php'; ?>
<h3>SSH</h3>
<h4>~&gt; How to create ssh key</h4>
<p>Make sure you have <code>~/.ssh</code> directory and has correct permissions:</p>
<code>mkdir -m 700 ~/.ssh</code>
<p>Create your keys:</p>
<code>ssh-keygen -t ed25519 -a 100</code>
<p>if you press enter to accept the defaults, your public and private key will be located at <code>~/.ssh/id_ed25519.pub</code> and <code>~/.ssh/id_ed25519</code> respectively</p>
<code>cat ~/.ssh/id_ed25519.pub</code>
<p>copy the output of the last command and paste it in the sshkey field on the signup form</p>
<h4>~&gt; Also check <a href="https://tilde.wiki/wiki/SSH">page on ~wiki about SSH</a></h4>
<?php include 'footer.php'; ?>