sshd_config

  1. I

    How to harden sshd_config to allow only 1 user to be logged in at any given time?

    How do I harden my sshd_config to allow only 1 user to be remotely logged in at any given time? (A non-admin/wheel and not-root user will login remotely, then upgrade (ie. "su -l admin) to admin/wheel, and then to root should be counted as the same user being logged in at any given time.) I...
  2. jimkoen

    Solved Modifying configuration files in scripted install

    EDIT: Well this is kind of akward, but it turned out that I could resolve this rather quickly using heredoc strings. Given I'm using Ansible to create the installerconfig file, just copying the modified sshd_config into installerconfig in full via templates actually seems to be the easiest...
  3. freezr

    SFTP with nologin shell ?

    Hi There, I am trying to create a git user to access on its git /home only through sftp. I didn't found useful info on the handbook therefore I followed this guide: https://www.micski.dk/2019/12/11/sftp-server-with-openssh-on-freebsd/ However I couldn't establish a connection... User is...
  4. TankedThomas

    Issues Authenticating VSFTPD With PAM

    First, I'm fairly new to FreeBSD. I'm more experienced with Linux (over 10 years), though I'd still consider myself a beginner in the grand scheme of things. I'm also (obviously) new here, so I apologise if this is posted in the wrong place but I wasn't completely sure where else to put it...
  5. leebrown66

    Setup a 2nd sshd instance for testing remote configurations

    Suppose you have a remote machine that you can ssh into. You want to make some changes to the config, but making a mistake could lock you out of the box. This is a technique for setting up a 2nd sshd instance and also how to configure it as a service. Standalone On the server enter...
Back
Top