Reinstall OpenSSH Server Rumi, June 21, 2014 First if you have any pre-installed SSH server that has gone bad, remove it- on Redhat Architechture Type the following commands as the root user: # chkconfig sshd off # service sshd stop # yum erase openssh-server You need to edit and update firewall rules that allows inbound connections to SSHs tcp port # 22. Edit /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. In each file find and delete the line that access connection to port # 22. A sample entry: -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT Save and close the file. Restart the Linux firewall: # service iptables restart # service ip6tables restart On Debian Architechture Type the following commands: # apt-get –purge remove openssh-server Again, you need to edit and update firewall rules or firewall shell scripts that allows inbound connections to SSHs tcp port # 22. Now it's time to install the SSH package again, reference installation for Redhat Architechture only To install the server and client type: # yum -y install openssh-server openssh-clients Start the service: # chkconfig sshd on # service sshd start Make sure port 22 is opened: # netstat -tulpn | grep :22 Firewall Settings Edit /etc/sysconfig/iptables (IPv4 firewall), # vi /etc/sysconfig/iptables Add the line -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT Src: http://www.cyberciti.biz/faq/howto-unix-linux-remove-delete-opensshd-server/ Related Administrations Configurations (Linux) CentOSDebianSSH
Install Plex on CentOS 7 September 15, 2023 Was just playing around. It’s a great home entertainment tool indeed. Method-1: Creating repository and using Yum To enable the Plex repository open your text editor and create a new YUM repository configuration file named plex.repo in /etc/yum.repos.d/ directory: [PlexRepo] name=PlexRepo baseurl=https://downloads.plex.tv/repo/rpm/$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1 Method-2: Installation using RPM download… Read More
Identify WWN in linux December 3, 2016 Here are some useful commands for the most popular Linux/Unix operating systems to find your HBA WWN. There are several methods to identify HBA WWN for the fiber storage units in your server network. Method 1: (The hard way) Verified on Suse Linux Enterprise Server and CentOS/Redhat The info is… Read More
Public DNS Servers List July 8, 2011 => Service provider: Google Google public dns server IP address: 8.8.8.8 8.8.4.4 => Service provider:Dnsadvantage Dnsadvantage free dns server list: 156.154.70.1 156.154.71.1 => Service provider:OpenDNS OpenDNS free dns server list / IP address: 208.67.222.222 208.67.220.220 => Service provider:Norton Norton free dns server list / IP address: 198.153.192.1 198.153.194.1 => Service… Read More