Tunnel SSH via custom port

Hi all is it possible to ssh to my server via a custom port number ?I dont have anyrthing set to port 22

eg $ ssh [email protected] -p 2001

my settings on access > tunnels


You just have to change the port that SSH runs on in /etc/ssh/sshd_config to your chosen port (in your case, 2001), then access your server using ssh [email protected][ssh_subdomain].[your_domain].[ext]. No -p necessary using tunnel.

Of course, make sure you’ve followed this tutorial to setup SSH via Cloudflare Tunnel: SSH · Cloudflare Zero Trust docs