Skip to main content

NINet.org

  • About
  • Contact

Tag: shell script

Update sshd_config to use Protocol 2

June 2, 2014June 2, 2014 Ryan Leave a comment

Had to write an script to update SSHD to only use protocol 2 without changing any of the other settings, to be deployed via BMC Bladelogic (horrible horrible tool), but you work with what you have. The script should work across Linux, AIX and Solaris.

$> SSHProtocolUpdate.sh update [1|2]
$> SSHProtocolUpdate.sh rollback

Read More

Search

Sponsored Links

Tags

accounts Active Directory Aironet 1130ag bash blade Cisco cluster collection ConfigMgr07 dell forefront HP IBM infiniband Linux MOF network powercli powershell query Redhat Report RHEL RHEL 5 RHEL 5.3 SCCM scraper script shell Site SMS sms_def.mof sql ssh System Management Team Foundation Server TFS VBS vCenter Virtualization vlan vmware Warranty Windows WMI

Categories

  • Cloud (1)
    • AWS (1)
  • DevOps (1)
    • Terraform (1)
  • General (10)
    • Site (3)
  • Projects (3)
    • CDP to WMI (2)
    • FilterTreeView (1)
  • Sys Admin (57)
    • AIX (1)
    • Cisco (9)
      • Routing (2)
      • Switching (2)
    • Coding/Scripting (37)
      • batch (1)
      • C++ (3)
      • CSharp (1)
      • msbuild (1)
      • Perl (1)
      • powercli (3)
      • powershell (9)
      • python (1)
      • shell (5)
      • SQL (8)
      • vbs (6)
    • docker (1)
    • Linux (13)
      • Puppet (1)
      • Raspberry Pi (1)
    • Misc (3)
      • Home Router (2)
    • Openstack (1)
    • OpenVPN (1)
    • Proxy (1)
    • Servers (13)
    • SunOS_Solaris (1)
    • Virtualization (4)
    • VLANs (5)
    • Windows (31)
      • SCCM SMS (22)
        • Reporting Services (2)
      • TFS (5)
    • Wireless (4)

Last Dive

sparkling Theme by Colorlib Powered by WordPress