Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

sshd

Limit SSH access to specific clients by IP address

August 10, 2022 by Magenaut

How do we allow certain set of Private IPs to enter through SSH login(RSA key pair) into Linux Server?

Categories Q&A, Unix & Linux Tags firewall, linux, sshd Leave a comment

How does ChrootDirectory and a user’s home directory work together?

August 10, 2022 by Magenaut

I need to create an SFTP only user on CentOS 7. I’ve read how to do it from various sources. The setup needs to only support a single user with SFTP only access to a single folder.

Categories Q&A, Unix & Linux Tags chroot, sshd Leave a comment

Change default path for when I SSH in to CentOS server?

August 9, 2022 by Magenaut

I have a CentOS 5.7 web server, and I want to change the default place I land in when connecting using SSH.

Categories Q&A, Unix & Linux Tags centos, home, ssh, sshd Leave a comment

Where are my sshd logs?

August 9, 2022 by Magenaut

I can’t find my sshd logs in the standard places.

Categories Q&A, Unix & Linux Tags arch-linux, logs, openssh, sshd Leave a comment

tmux session killed when disconnecting from ssh

August 9, 2022 by Magenaut

Summary: I’m trying to figure out why my tmux session dies when I disconnect from ssh

Categories Q&A, Unix & Linux Tags sshd, tmux Leave a comment

Installing fail2ban on CentOS 7

August 9, 2022 by Magenaut

I am using @GarethTheRed ‘s answer to this question to install fail2ban on a remote CentOS 7 server. I am able to complete all the steps up until tail -f /var/log/fail2ban.log, at which point I get different results than he gets in his answer.

Categories Q&A, Unix & Linux Tags centos, fail2ban, openssh, ssh, sshd Leave a comment

How to exclude from a “Match Group” in SSHD?

August 8, 2022 by Magenaut

There is a Match group in the SSHD config:

Categories Q&A, Unix & Linux Tags openssh, sshd Leave a comment

sshd failed due to network not yet available

August 8, 2022 by Magenaut

I’m running Arch Linux. After I reboot, the sshd.service fails to start due to the network not yet being up. I have to manually run:

Categories Q&A, Unix & Linux Tags boot, networkmanager, sshd, systemd Leave a comment

How to setup password-less ssh with RSA keys

August 8, 2022 by Magenaut

I am trying to setup a password-less SSH configuration between two machines and I am having a problem. There are a ton of howtos out there that I have followed and have had no success. Here are the steps that I’ve taken

Categories Q&A, Unix & Linux Tags linux, permissions, ssh, sshd Leave a comment

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys

August 7, 2022 by Magenaut

The issue as exposed here is
solved (about files modes of the .ssh folder.

Categories Q&A, Unix & Linux Tags authentication, home, key-authentication, ssh, sshd Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress