<?xml version="1.0"?>
<rss version="2.0"><channel><title>OneCloud Latest Topics</title><link>https://testforum.armbian.com/forum/232-onecloud/</link><description>OneCloud Latest Topics</description><language>en</language><item><title>[Bug] Can't change the ssh port on 6.4.16 bookworm</title><link>https://testforum.armbian.com/topic/30718-bug-cant-change-the-ssh-port-on-6416-bookworm/</link><description><![CDATA[<p>
	Hi, everyone,
</p>

<p>
	 
</p>

<p>
	   Recently, i found   i can't change ssh port on 6.4.16 bookworm (Onecloud)  cli version(https://github.com/armbian-delta/os/releases/download/23.8.0-trunk.2/Armbian_23.8.0-trunk.2_Onecloud_bookworm_edge_6.4.16.img.xz#onecloud)
</p>

<p>
	   
</p>

<p>
	   i changed the `/etc/ssh/sshd_config`    add the `Port 10086` .and then i restart the system, It still not working, ssh port only work on `22`
</p>

<p>
	 
</p>

<p>
	  but at the same time, i found the other thing  `KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1` i added is working.
</p>

<p>
	   
</p>

<p>
	   So, i check if selinux is disabled, the sestatus says it's disabled.
</p>

<p>
	 
</p>

<p>
	and  check the  sshd status...it stills on port 22,  no 10086
</p>

<p>
	 
</p>

<p>
	`root@onecloud:~# service sshd status<br />
	● ssh.service - OpenBSD Secure Shell server<br />
	     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; preset: enabled)<br />
	     Active: active (running) since Thu 2023-10-12 14:15:38 CST; 3s ago<br />
	TriggeredBy: ● ssh.socket<br />
	       Docs: man:sshd(8)<br />
	             man:sshd_config(5)<br />
	    Process: 7609 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)<br />
	   Main PID: 7610 (sshd)<br />
	      Tasks: 1 (limit: 2190)<br />
	     Memory: 1.0M<br />
	        CPU: 305ms<br />
	     CGroup: /system.slice/ssh.service<br />
	             └─7610 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
</p>

<p>
	Oct 12 14:15:38 onecloud systemd[1]: Starting ssh.service - OpenBSD Secure Shel&gt;<br />
	Oct 12 14:15:38 onecloud sshd[7610]: Server listening on :: port 22.<br />
	Oct 12 14:15:38 onecloud systemd[1]: Started ssh.service - OpenBSD Secure Shell`
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	So i checked `netstat -atunlp | grep sshd` there is only  22..
</p>

<p>
	  
</p>

<p>
	`<br />
	tcp6       0      0 192.168.1.112:22        xxx:20158     ESTABLISHED 3147/sshd: root@pts<br />
	tcp6       0    144 192.168.1.112:22       xxx:22320     ESTABLISHED 3514/sshd: root@pts<br />
	`
</p>

<p>
	iptables nothing on it.
</p>

<p>
	`Chain INPUT (policy ACCEPT)<br />
	target     prot opt source               destination
</p>

<p>
	Chain FORWARD (policy ACCEPT)<br />
	target     prot opt source               destination
</p>

<p>
	Chain OUTPUT (policy ACCEPT)<br />
	target     prot opt source               destination`
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	So, it may be a bug, sshd can't read configuration to open a new port?
</p>
]]></description><guid isPermaLink="false">30718</guid><pubDate>Thu, 12 Oct 2023 06:30:32 +0000</pubDate></item><item><title>How to solve onecloud board shutdown about every 40 minutes.</title><link>https://testforum.armbian.com/topic/38551-how-to-solve-onecloud-board-shutdown-about-every-40-minutes/</link><description><![CDATA[<p>
	I run output/images/Armbian-unofficial_24.5.0-trunk_Onecloud_bookworm_current_6.6.21_minimal.burn.img on my onecloud board.
</p>

<p>
	It shutdown about every 40 minutes.
</p>

<p>
	 
</p>

<p>
	How to solve this problem?
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="log" data-fileid="12331" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=12331&amp;key=060c71e202b966df782e00278f4fba95" rel="">journalctl.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="12329" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=12329&amp;key=015476479d6c0f71e3b3d74f74e8b143" rel="">kern.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="12330" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=12330&amp;key=8924d2d0aa75fa06588b367653ea6a55" rel="">armbian-hardware-monitor.log</a>
</p>
]]></description><guid isPermaLink="false">38551</guid><pubDate>Thu, 02 May 2024 15:22:39 +0000</pubDate></item></channel></rss>
