summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
dd46e09)
Change-Id: I36478bcae679d8e30ad00d97d7fc680130808670
Signed-off-by: Matej Klotton <mklotton@cisco.com>
- systemctl start rc-local
- touch /tmp/before-sed
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
- 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
- service ssh restart
- service sshd restart
- ln -s /sbin/lspci /usr/bin/lspci
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
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
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
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
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf