diff options
author | Matej Klotton <mklotton@cisco.com> | 2017-04-07 10:26:37 +0200 |
---|---|---|
committer | Matej Klotton <mklotton@cisco.com> | 2017-04-13 14:13:08 +0000 |
commit | bb69c3af44912f26ba12bc0e8fe185b573963054 (patch) | |
tree | 1d9602b1e6c68261d6381e479aed207ac967483e /resources/tools | |
parent | dd46e09336c6e2c1a0b23997f3be031223d0a84d (diff) |
Fix slow ssh login to Centos VIRL hosts.
Change-Id: I36478bcae679d8e30ad00d97d7fc680130808670
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/virl/topologies/double-ring-nested.centos7.virl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/resources/tools/virl/topologies/double-ring-nested.centos7.virl b/resources/tools/virl/topologies/double-ring-nested.centos7.virl index b59d94c0ff..e5f6d5c2ca 100644 --- a/resources/tools/virl/topologies/double-ring-nested.centos7.virl +++ b/resources/tools/virl/topologies/double-ring-nested.centos7.virl @@ -14,7 +14,8 @@ runcmd: - systemctl start rc-local - touch /tmp/before-sed - sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config -- echo "UseDNS no" >> /etc/ssh/sshd_config +- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config +- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config - service ssh restart - service sshd restart - ln -s /sbin/lspci /usr/bin/lspci @@ -90,7 +91,8 @@ nfs_server_common: $$NFS_SERVER_COMMON$$ runcmd: - systemctl start rc-local - sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config -- echo "UseDNS no" >> /etc/ssh/sshd_config +- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config +- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config - service ssh restart - service sshd restart - sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf @@ -193,7 +195,8 @@ nfs_server_common: $$NFS_SERVER_COMMON$$ runcmd: - systemctl start rc-local - sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config -- echo "UseDNS no" >> /etc/ssh/sshd_config +- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config +- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config - service ssh restart - service sshd restart - sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf |