Centos enable ssh for new virtual machine

yum install net-tools
bootproto=dhcponboot=yes
sudo yum -y install openssh-server openssh-clientssystemctl restart sshdsudo systemctl enable sshd
sudo vi /etc/ssh/sshd_configport {your_port}
service sshd restart

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
LORY

LORY

A Senior Software Developer/Body builder . to help others enjoy coding and stay healthy