Change Default SSH Port Number

SSH Command line

By default, SSH runs on port 22, and most scripts attack that port by brute force to attempt to gain access to your server. One way to stop script kiddies from brute forcing your SSH server so often is by changing the default port that OpenSSH uses. You must remember this port number and change all your connections that use SSH to the new port number. Continue reading “Change Default SSH Port Number”

Automatically backup pictures on Android With OneDrive

OneDrive Logo

The past few days I have been getting calls regarding people’s phones not working right. The number one worry – I need my pictures. The way a phone’s internal storage works, if the phone will not come on, there is not much of a way to recover your pictures if they are not on an SD Card. Which leaves the question of how do I keep from loosing my pictures if my phone quits working? The answer – cloud storage. Continue reading “Automatically backup pictures on Android With OneDrive”

Disable UAC Prompts

Back when Windows Vista came out, Microsoft introduced User Account Control (or UAC). UAC is Microsoft’s response to Ubuntu’s sudo command, which must be run to run a command as admin. It has since then had many iterations and updates, and despite all the security positives of having it turned on, some people choose to turn it off. If you are wondering how to turn it off, then follow the steps below. These steps will work for Window Vista, 7, 8, 8.1, and 10. Continue reading “Disable UAC Prompts”

Disable The Clutter Folder

Microsoft decided it would be a good idea to start moving some of your mail to a separate folder. Do you know how the announced it? They put an email in the clutter folder saying “Welcome To Clutter”. They put it in a folder that you never seen before? Yeah, who is going to see that? Here is how you disable it!

Continue reading “Disable The Clutter Folder”

Turn Windows Firewall Off or On By Command Line Or Script

I have run into a few times when I needed to turn off or on the Windows Firewall via command line or script. It is actually very simple to do!

To Turn Off:
NetSh Advfirewall set allprofiles state off

To Turn On:
NetSh Advfirewall set allrprofiles state on

To check the status of Windows Firewall:
Netsh Advfirewall show allprofiles

You can replace “allprofiles” with public, domain, or private and you can manipulate just that one profile. I used this in creating a script to test the firewall settings of a remote server. That way if I messed up the config, it would turn itself back off after a minute and I was able to reconnect to it. You can view that script on my other post Testing Windows Firewall Settings Safely From Remote Machine.

Testing Windows Firewall Settings Safely From Remote Machine

A while back I got me a new crisp Windows Server. By default, the Firewall was turned off and of course I wanted to turn it on for security reasons. But what happens if I lose my connection to a server a few hundred miles away? How would I disable the firewall if I can’t connect to it anymore? I decided to write a script!

The function of the script is to enable the firewall for the public internet, wait 2 minutes, then disable it again. Here is my script:

@echo off
Netsh Advfirewall set public state on
timeout 120
Netsh Advfirewall set public state off

Save those lines as a batch file, then run it as Administrator. Keep in mind to use this at your own risk! It saved me, but never know about you! An explanation of the commands can be found on my other post Turn Windows Firewall Off or On By Command Line Or Script.

DigitalOcean VPS Hosting Review

I have been using DigitalOcean for nearly 6 months now to host my websites and online services. They are a premium Virtual Private Hosting provider that offers many types of configurations in many geographic regions. In 55 seconds, you can have a VPS created and up and running with you ready to login and start hosting. DigitalOcean has many features to offer and they are always expanding on their features:

Continue reading “DigitalOcean VPS Hosting Review”