Skip to main content

Posts

Showing posts from 2022

LINUX BOX UNABLE TO SSH COMEWARE SWITCHES (5.2/7.1)

 LINUX BOX UNABLE TO SSH COMEWARE SWITCHES (5.2/7.1) There is issue observed that the Linux Box unable to ssh the Comware 5.2 and 7.1 switches. It is showing the follwoing error: Unable to negotiate with 192.168.10.254 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 These SSH compatibility issues, we can simply temporarily enable all legacy cryptography methods that our SSH client currently supports.  We can check the supported method from the Linux Box: ssh -Q mac ssh -Q kex ssh -Q key ssh -Q cipher We need to fix the nagotiation method using the follwing command: { echo -n 'Ciphers ' ssh -Q cipher | tr '\n' ',' | sed -e 's/,$//'; echo echo -n 'MACs ' ssh -Q mac | tr '\n' ',' | sed -e 's/,$//'; echo echo -n 'HostKeyAlgorithms ' ssh -Q key | tr '\n' ',' | sed -e 's/,$//'; echo echo -n '...

openstack

 OpenStack A software build by open-source community to manage private cloud datacenters. OpenStack is a CMS (Cloud management System). yum update -y yum insall vim net-tools yum install vim net-tools netstat -tulpn yum install -y https://rdoproject.org/repos/rdo-release.rpm yum groupinstall 'Development Tools' egrep --color 'vmx|svm' /proc/cpuinfo | wc -l sed -i s/'SELINUX=enforcing'/'SELINUX=disabled'/g /etc/selinux/config cat /etc/selinux/config | grep SELINUX= yum install -y centos-release-openstack-train systemctl disable firewalld systemctl stop firewalld systemctl disable NetworkManager systemctl stop NetworkManager systemctl enable network yum install -y openstack-packstack yum -y downgrade leatherman yum list | grep leatherman yum install -y tmux ---------------------------------------- Only on Controller: packstack --gen-answer-file=/root/answer.txt vim answer.txt CONFIG_iPROVISION_DEMO=n CONFIG_KEYSTONE_ADMIN_PW= (Your Password for admin) ...