#!/bin/bash sed -i "s/AllowTcpForwarding no/AllowTcpForwarding yes/g" /etc/ssh/sshd_config sed -i "s/AllowAgentForwarding no/AllowAgentForwarding yes/g" /etc/ssh/sshd_config sed -i "s/StrictModes yes/StrictModes no/g" /etc/ssh/sshd_config systemctl restart sshd hostnamectl set-hostname 172-31-2-8