<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sshd on Michael’s Domain</title><link>https://jeltsch.org/en/tags/sshd/</link><description>Recent content in Sshd on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/sshd/index.xml" rel="self" type="application/rss+xml"/><item><title>How to enable passwordless logins to a server</title><link>https://jeltsch.org/en/how_to_enable_passwordless_logins_to_a_server/</link><pubDate>Wed, 24 Jul 2019 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/how_to_enable_passwordless_logins_to_a_server/</guid><description>&lt;ol&gt;
&lt;li&gt;Enable root login with password on the server. To do so, you need to edit the file /etc/ssh/sshd_config.Modify the lines starting with &amp;ldquo;PermitRootLogin&amp;rdquo; like this:#PermitRootLogin prohibit-passwordPermitRootLogin yes&lt;/li&gt;
&lt;li&gt;Restart the sshd server:sudo systemctl restart sshd&lt;/li&gt;
&lt;li&gt;On the client, copy the public key files to the server with the ssh-copy-id command:ssh-copy-id root@server&lt;/li&gt;
&lt;li&gt;On the server, disable root login with password and enable root login with public key authentication:PermitRootLogin prohibit-password#PermitRootLogin yes&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>How to start openvpn or ssh server under Ubuntu 16.04 and 18.04</title><link>https://jeltsch.org/en/how_to_start_openvpn_or_ssh_server_under_ubuntu_16_04_and_18_04/</link><pubDate>Sat, 03 Sep 2016 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/how_to_start_openvpn_or_ssh_server_under_ubuntu_16_04_and_18_04/</guid><description>&lt;p&gt;&lt;strong&gt;OpenVPN&lt;/strong&gt;&lt;code&gt;sudo systemctl start openvpn@client&lt;/code&gt;The &amp;ldquo;client&amp;rdquo; is derived from the configuration file name (/etc/openvpn/client.conf). If your configuration file is server.conf, the command needs to be&lt;code&gt;sudo systemctl start openvpn@server&lt;/code&gt;When you want the service to start up automatically during system boot, you issue:&lt;code&gt;sudo systemctl enable openvpn@server&lt;/code&gt;&lt;strong&gt;Templated versus non-templated services&lt;/strong&gt;OpenVPN is a so-called &amp;ldquo;templated&amp;rdquo; service (it needs a configuration file when being invoked). In contrast to this, the ssh server is a non-templated service. Hence the command is simpler:&lt;code&gt;sudo systemctl start sshd&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>