Access remote addresses, using a SSH server at home

Sometimes you need to use remote servers from home, but there is just no way to have them expose to the web. I guess the most usual situation is when you want to have access to your computer at work, which is behind the company network + firewalls and, despite it can see the web, it can not have external visibility. But there is a workaround using SSH which, properly setup, can be as safe as a VPN, with advantages. This solution is much more portable, since the VPN works at the operating system level, when SSH clients only at application level, usually using Putty.

I searched a lot on internet for a clear and straight approach, but it was not that easy to find. So I decided to wrote myself this article, my way, covering the following situation:

  • I use Windows at both work and home.
  • I have resources at work which I want to see from home (eg. a SQL Server, a web server running on my workstation there or even a Remote Desktop).
  • I can not have more than a normal putty client running at work. No way to expose IPs or whatever, for obvious reasons.
  • I can have a Linux installation running a SSH server at home (Raspberry PI, old desktop or a virtual machine).
  • I can expose my SSH server to the web, using my router's port forwarding options.

Continue Reading

Faster boot on Windows with Delayed Start Services

Today I realized a way to make Windows boot a lot faster. Although being easy, this is a process that must be done only by experienced users. Be advised that chances are of messing your computer (I did, but fixed) if you are not used to deal with windows services. I'm using Windows 7, but I guess this technique may be used in other versions as well.

Basically, changing a service startup setting from "Automatic" to "Automatic (Delayed Start)" makes it start 2 minutes after the last "Automatic" service have started, letting more resources available to the core boot. 120 seconds is the default delay and can easily be changed in the Registry Editor (20 second works very well for me).

Continue Reading

Fixing the screen resolution of a linux VirtualBox guest (installing VirtualBox Guest Additions)

Today I created a Linux development environment in my Windows 7 notebook, running a Lubuntu 14.04 with VirtualBox. System installed, first boot OK, then I noticed that the only screen resolution available was merely 800x600 pixels. The way to solve this was installing the VirtualBox Guest Additions, and I will go through this process step by step, bringing up few issues that I came across, and other Lubuntu users may experience too.

Continue Reading

How to build a PHP debug environment, under Windows

The PHP language is a versatile option to develop since websites, to full web based systems, because of the high level of integration with the HTML sctructure, object orientation support and the fact of not requiring build and compilation. However, depending on the desired complexity, a good debugger and a development environment may be requisites.

In this article I explain how I use to build, under windows, a full PHP development environment, with debug support, using the Eclipse's last version available, because PDT All-In-One package is usually outdated one version or two of the last stable build.

Continue Reading