<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2023-08-14</id>
	<title>Blog: 2023-08-14 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2023-08-14"/>
	<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-14&amp;action=history"/>
	<updated>2026-04-06T23:14:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=Blog:_2023-08-14&amp;diff=683&amp;oldid=prev</id>
		<title>Razzi: Created page with &quot;Setting up a fresh debian server on digitalocean to be a python application server.  Upon login it prompted for the password, which was having trouble pasting any method other...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-14&amp;diff=683&amp;oldid=prev"/>
		<updated>2023-08-14T17:46:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Setting up a fresh debian server on digitalocean to be a python application server.  Upon login it prompted for the password, which was having trouble pasting any method other...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Setting up a fresh debian server on digitalocean to be a python application server.&lt;br /&gt;
&lt;br /&gt;
Upon login it prompted for the password, which was having trouble pasting any method other than right-click :/&lt;br /&gt;
&lt;br /&gt;
But that was not an issue for long as I used ssh-copy-id to get my private key to be able to log in.&lt;br /&gt;
&lt;br /&gt;
Then I added a new user and added that user to the sudo group. I added the same private key to that user&amp;#039;s ~/.ssh/authorized_keys.&lt;br /&gt;
&lt;br /&gt;
This didn&amp;#039;t work for login, because I created the /home/newuser/.ssh directory as root, so I needed to chown it.&lt;br /&gt;
&lt;br /&gt;
Then I could ssh in as the new user using ssh key. I disabled password login.&lt;br /&gt;
&lt;br /&gt;
When I tried to disable root login, it didn&amp;#039;t work because it was loading a custom config file before the PermitRootLogin No. So I removed the PermitRootLogin Yes from the custom config file.&lt;br /&gt;
&lt;br /&gt;
I also added passwordless sudo to my user using sudo visudo and modifying the sudo group to set NOPASSWD: ALL.&lt;/div&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
</feed>