ssh-keygen https://notes.masterweb.sk/index.php/ sk ssh keys https://notes.masterweb.sk/index.php/linux-man/ssh-keys <span class="field field--name-title field--type-string field--label-hidden">ssh keys</span> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/index.php/user/1" typeof="schema:Person" property="schema:name" datatype="">ROOT</span></span> <span class="field field--name-created field--type-created field--label-hidden">Ut, 10/08/2019 - 17:46</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2">https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2</a></p> <pre> ssh-keygen -t rsa cat .ssh/id_rsa.pub</pre> <p>then inport key for user you will connecting on remote server (ploi for example)</p> <p>echo "pub key" &gt;&gt; ~/.ssh/authorized_keys</p> <p>mkdir -p ~/.ssh &amp;&amp; touch ~/.ssh/authorized_keys &amp;&amp; echo "pub key" &gt;&gt; ~/.ssh/authorized_keys</p> <p><a href="https://www.digitalocean.com/community/questions/error-permission-denied-publickey-when-i-try-to-ssh">https://www.digitalocean.com/community/questions/error-permission-denied-publickey-when-i-try-to-ssh</a></p> <p>Sometimes happend that there is a mismatch with hosts and keys - <a href="https://superuser.com/questions/421004/how-to-fix-warning-about-ecdsa-host-key">https://superuser.com/questions/421004/how-to-fix-warning-about-ecdsa-h…</a></p> </div><div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Značky</h3> <ul class="links field__items"> <li><a href="/index.php/taxonomy/term/60" hreflang="sk">ssh-keygen</a></li> <li><a href="/index.php/taxonomy/term/61" hreflang="sk">ssh keys</a></li> </ul> </div> Tue, 08 Oct 2019 15:46:07 +0000ROOT81 at https://notes.masterweb.skhttps://notes.masterweb.sk/index.php/linux-man/ssh-keys#comments