3
submitted 11 months ago by 1c34@alien.top to c/main@selfhosted.forum

i want to remotely ssh to my home server, and I was wondering if I could just forward port 22 with disabling password login and use pubkey authentication will be safe enough?

you are viewing a single comment's thread
view the rest of the comments
[-] brandontaylor1@alien.top 3 points 11 months ago

As long as password auth is disabled you’re fine. No one is cracking your RSA key. You can add Fail2Ban to reduce the log noise, but security wise it’s fine.

[-] Beastmind@alien.top 1 points 11 months ago

Also don't use rsa, use Ed25519 nowadays

[-] upofadown@alien.top 1 points 11 months ago

RSA is fine. It isn't like you will have to worry about the length of the keys for SSH.

[-] Beastmind@alien.top 1 points 11 months ago

It is but if you're going to use something security related, use the current recommendation unless you stricly can't for legacy reason or something.

load more comments (5 replies)
load more comments (5 replies)
load more comments (18 replies)
this post was submitted on 28 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

504 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