this post was submitted on 17 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I feel that I’ve done everything right. I’ve created a section in the port forwarding section that forwards all incoming port 22-29 connections to port 22 and my servers ip. When I try to connect from an outside network as USERNAME@MY PUBLIC IP it just times out.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago

Before you porr forward your ssh, you need to secure it first, example:

  1. Changing your ssh port to unusal port (something above 20000 or 30000 would be good)

  2. Setup your ssh to not use password auth and use only pubkey

After you set that, port forward the port that you choose and run the command in your terminal or powershell:

ssh -v 'pubkeynameyouchoose.pub' -p 'portyouchoose' username@ipaddress