Ip address classification

Internet Protocol (IP) addresses are usually of two types: Public and Private. If you have ever wondered to know what is the difference between a public and a private IP address, then you are at the right place. In this post I will try to explain the difference between a public and a private IP … Continue reading Ip address classification

Make Rhel-7 & in Graphical mode and runlevel

How To make rhel-7 as graphical desktop yum grouplist yum groups install "GNOME Desktop" or yum groupinstall "GNOME Desktop" yum groups install "Server with GUI" or yum groupinstall "Server with GUI" systemctl set-default graphical.target systemctl start graphical.target How to change the runlevel in rhel-7 or centos-7 systemctl list-units --type=target systemctl get-default systemctl set-default multi-user.target systemctl … Continue reading Make Rhel-7 & in Graphical mode and runlevel

How do I changing run levels 3 to 5?

Default run level is defined in /etc/inittab file. In order to change Linux runlevel from 3 to 5, you need to modify this file. Please follow the instructions outlined below: 1) Login as root user 2) Open /etc/inittab file using vi text editor or gedit GUI text editor # vi /etc/inittab OR Open terminal command … Continue reading How do I changing run levels 3 to 5?

How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED)

How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED) mohammedrafi@NOC-RAFI:~$ ssh -v root@linuxmadeeasy.in OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to linuxmadeeasy.in [192.169.173.171] port 22. debug1: Connection established. debug1: identity file /home/mohammedrafi/.ssh/id_rsa type 1 debug1: identity file /home/mohammedrafi/.ssh/id_rsa-cert type -1 debug1: identity … Continue reading How to Trouble Shoot(REMOTE HOST IDENTIFICATION HAS CHANGED)

ssh logins audit

[root@server ~]# tail /var/log/secure Aug 14 08:50:43 server polkitd[618]: Loading rules from directory /etc/polkit-1/rules.d Aug 14 08:50:43 server polkitd[618]: Loading rules from directory /usr/share/polkit-1/rules.d Aug 14 08:50:43 server polkitd[618]: Finished loading, compiling and executing 2 rules Aug 14 08:50:43 server polkitd[618]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Aug 14 08:50:48 server sshd[816]: Server … Continue reading ssh logins audit

sshd_config & ssh_config file parameters

The /etc/ssh/sshd_config file is the system-wide configuration file for OpenSSH which allows you to set options that modify the operation of the daemon. This file contains keyword-value pairs, one per line, with keywords being case insensitive. Here are the most important keywords to configure your sshd for top security; a complete listing and/or special requirements … Continue reading sshd_config & ssh_config file parameters