Logging SFTP access in Debian 9 Stretch

logging SFTP access in Debian 9 Stretch To start logging SFTP access in Debian 9 Stretch all you need to to is to edit a config file and restart a service. First make sure that the sshd service is currently running if you are not remotely accessing the machine to begin with by using the […]

How to throttle bandwidth on a Cisco ASA5512

How to throttle bandwidth on a Cisco ASA5512 Here’s a great little trick to limit your ASA’s speed which can be beneficial if your ISP charges you for how fast you go. E.G. Your ISP provides you a 100Mbps burstable connection, but they allow you to utilize a 20Mbps average. Since you know your data […]

Rename your computer using it’s service tag number

How to rename your computer using it’s service tag number Below is a short script that is handy in renaming your computer using the service tag or serial number of the machine. setlocal wmic bios get serialnumber | find /I /V “SerialNumber” > “%temp%\sn.txt” set /p comp_name=<“%temp%\sn.txt” wmic computersystem where name=”%computername%” rename name=%comp_name% del “%temp%\sn.txt” […]

ssh to OpenSSH running on Windows cron is not working

When trying to ssh to OpenSSH running on Windows cron is not working However if you run the script manually it executes correctly. After days of research and asking everyone I know I finally stumbled across a solution which fixes the problem. This whole conundrum occurred after my excitement of OpenSSH being released for Windows which […]

Configuring SNMP agentless monitoring on Windows Server 2012 / R2

Configuring SNMP agentless monitoring on Windows Server 2012 / R2   Open server manager by clicking on the icon on your taskbar   Click on Add roles and features then click Next à Select Role-based or feature-based installation and click Next. Now select a server from the server pool like your local server’s name and […]