↓
 

Software Effect Enterprises, Inc

  • Home
Home→Categories Linux 1 2 >>

Category Archives: Linux

Post navigation

1 2 >>

Remove CR / New Line on selected lines of a text file

Software Effect Enterprises, Inc Posted on January 23, 2023 by SEEIJanuary 23, 2023

I have a file like the following this thing that thing this stuff that stuff I want it to read this thing that thing this stuff that stuff To fix it cat file.txt | sed ‘N;s/\nthat/ that/g’

Continue reading →
Posted in Linux, sed | Tagged carrage return, carriage return, new line, sed

logwatch  Received disconnect from some.ip.add.ress port someport:11: : 1 Time

Software Effect Enterprises, Inc Posted on January 2, 2023 by SEEIJanuary 2, 2023

I have a fedora machine set up to backup configs and information from other servers via scp. In the daily log watch report I am getting tons of Received disconnect from some.ip.add.ress port someport:11: : 1 Time For some reason … Continue reading →

Posted in Centos, Fedora, Linux | Tagged disconnect, logwatch, received

Enable Timestamp in Bash History

Software Effect Enterprises, Inc Posted on November 23, 2022 by SEEINovember 23, 2022

Instead of: [fu@bar ~]$ history … 990 nmap 10.9.6.0/24 991 history 992 less ~/.bash_history 993 ls -ltra 994 less ~/.lesshst 995 cd .config/ 996 ls -ltra 997 exit 998 ssh webserver 999 exit 1000 history Do this: [fu@bar ~]$ export … Continue reading →

Posted in Fedora, Linux | Tagged bash, history, timestamp

SNMP v3 and Cacti

Software Effect Enterprises, Inc Posted on June 13, 2017 by SEEIMay 14, 2022

A quick synopsis on setting up a Cisco ASA and a Centos 6 or 7 system to use SNMP v3 to be monitored by Cacti Cisco ASA en conf t # create a snmp-server group (needed for SNMP v3) # … Continue reading →

Posted in Cacti, Centos, Centos 6, Centos 7, Cisco ASA, Juniper, Linux, SNMP, SRX | Tagged asa, cacti, juniper, linux, snmp, SRX

crontab day of week vs day of month

Software Effect Enterprises, Inc Posted on July 4, 2021 by SEEIJuly 4, 2021

You want to set up a crontab where something happens every weekday morning, i.e. 8 am every Monday, Tuesday, Wednesday, Thursday, and Friday in January from the 10th to the 30th. You set up your crontab with the following 0 … Continue reading →

Posted in Linux | Tagged cron, crontab, date

How to mount raw images (.img) images on Linux

Software Effect Enterprises, Inc Posted on April 7, 2021 by SEEIApril 7, 2021

If you have a few .img files coming as disk images from devices like floppies, CDs, DVDs, SD cards, etc, you will realize that you cannot mount the in Linux, because they contain a file system that has to be … Continue reading →

Posted in Centos, Centos 7, Centos 8, Linux | Tagged file, image, linux, mount

Turn off wifi radio in Linux / Centos

Software Effect Enterprises, Inc Posted on January 28, 2020 by SEEIJanuary 28, 2020

I have a few boxes that have built in wifi and I dont need it turned on. So I turn it off using the following command nmcli radio wifi off To make sure the wifi radio stays turned off in … Continue reading →

Posted in Centos 7, Linux, wifi | Tagged linux, wifi

Web Site Certificate/SSL Tests

Software Effect Enterprises, Inc Posted on May 13, 2016 by SEEIJune 16, 2019

I have found the following two sites helpful in finding issues with the configuration of SSL secured web sites https://ssltools.digicert.com/checker/ https://www.ssllabs.com/ssltest/analyze.html Test which ciphers (TLS, SSL, etc) are enabled nmap -sV –script ssl-enum-ciphers -p 443 www.yourdomain.com Ref: https://nmap.org/nsedoc/scripts/ssl-enum-ciphers.html

Continue reading →
Posted in Centos 6, Centos 7, Cisco ASA, Linux, Windows, Zimbra

Edit Transport Maps On Postfix

Software Effect Enterprises, Inc Posted on May 8, 2015 by SEEIMarch 7, 2019

If you need email delivered to a specific server for selected domains you do the following: As root, edit the /etc/postfix/main.cf. Find (or add) the line that starts with transport_maps= If it does not exist, add the line “transport_maps=hash:/etc/postfix/transport. If … Continue reading →

Posted in Centos, Fedora, Linux

ssh fails to connect with debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

Software Effect Enterprises, Inc Posted on November 11, 2018 by SEEINovember 11, 2018

Running ssh across a vpn connection I started having my ssh sessions fail to connect. After starting ssh with the “-vvv” option, the session would timeout after getting a debug1: expecting SSH2_MSG_KEX_ECDH_REPLY After doing some research, I found other people … Continue reading →

Posted in Centos, Centos 6, Centos 7, Cisco ASA, Linux, ssh

Post navigation

1 2 >>
Powered By Rocky Linux
Powered By Rocky Linux

Recent Posts

  • Track incoming or outgoing email in zimbra
  • Remove CR / New Line on selected lines of a text file
  • Fail2Ban Entries Not Listed in Logwatch
  • Force check on all hosts on nagios
  • Clear Virtual Chassis Setting From Juniper EX-3300

Categories

  • Active Directory
  • Apache
  • Apache 2.4
  • ASA
  • Cacti
  • Centos
  • Centos 6
  • Centos 7
  • Centos 8
  • Cisco ASA
  • Cisco Switch
  • Dell
  • DHCP
  • fail2ban
  • Fedora
  • Fedora 31
  • Fedora 36
  • Fedora37
  • Firefox
  • Gnome 3
  • Google Chrome
  • grub
  • httpd
  • Juniper
  • LetsEncrypt
  • LibreOffice
  • Libvirt
  • Linux
  • Mate
  • MySQL
  • Nagios
  • named/bind
  • Networking
  • OpenVAS/Greenbone
  • PHP
  • Raspberry PI
  • Rocky Linux
  • sed
  • Signal Messenger
  • SNMP
  • SRX
  • ssh
  • Ubiqiti
  • Uncategorized
  • wifi
  • Windows
  • Windows 10
  • Windows 7
  • Windows Server
  • Windows Server 2016
  • Windows Server 2019
  • WordPress
  • Zimbra
  • Zimbra 7
  • Zimbra 8

Your IP Address

  • Powered by Find-IP.net
©2023 - Software Effect Enterprises, Inc - Weaver Xtreme Theme
↑