You are not logged in.

#1 2017-11-06 22:12:30

jbssm
Member
Registered: 2017-10-28
Posts: 21

Allow SSH password logging from local network and SSH keys from WAN

I was going trough my journalctl logs and I noticed a lot of incoming attempts of logging to my machine by SSH.

I have SSH keys setup, but I don't want to be locked out of my server (it's headless and a mess to access it) in case I change something in my desktop machine and loose the ssh keys to the server.

So, is it possible to setup the server SSHD service so that it only accepts SSH password logging from the local network, but so that I can logging into it using SSH keys from the outside network when I'm at work?

Offline

#2 2017-11-06 22:36:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,691
Website

Re: Allow SSH password logging from local network and SSH keys from WAN


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB