History of Coding - cross machine security
<p>Found a useful article for this on <a href="https://www.suse.com/support/kb/doc/?id=000017516">SUSE documentation</a> now to pick it to bits and produce a version for my local use. First problem is the key selection is now deprecated anyway.</p>
<p>One thing I did forget was enabling ssh login to the root account. Yes I know it's a 'security risk', but it really is easier when one is running servers where most of he actions require sudo level passwords, so lets just skip to the chase.</p>
<pre>sudo nano /etc/ssh/sshd_config
PermitRootLogin yes
ctrl-O ctrl-X to save
sudo systemctl restart sshd
</pre>
<p>Then I can at least log out and in again as root. Next step to make both accounts auto-login</p>
<pre>ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519</pre>
<p></p>
<p>One thing I did forget was enabling ssh login to the root account. Yes I know it's a 'security risk', but it really is easier when one is running servers where most of he actions require sudo level passwords, so lets just skip to the chase.</p>
<pre>sudo nano /etc/ssh/sshd_config
PermitRootLogin yes
ctrl-O ctrl-X to save
sudo systemctl restart sshd
</pre>
<p>Then I can at least log out and in again as root. Next step to make both accounts auto-login</p>
<pre>ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519</pre>
<p></p>
