Posts

Showing posts from 2019

Windows 10 SSH Server

Image
Open the Settings app and go to Apps -> Apps & features. On the right, click Manage optional features. On the next page, click the button Add a feature. In the list of features, select OpenSSH Server and click on the Install button. Click the back arrow at top left and you should see OpenSSH Server is being installed. Wait for it to finished installing. Open Services and look for OpenSSH Server Click Start on the left pane to start the service. If the service can be start, double click on it. On the General tab select Startup Type as Automatic or Automatic Delayed and click OK. This will start the service automatically when you start Windows.   Don't forget to do port forwarding in your router to access the service from outside Credit: https://winaero.com/blog/enable-openssh-server-windows-10

Windows 10 built in VPN

Image
DISCLAIMER: The Point-to-Point Tunneling Protocol (PPTP) is an obsolete method for implementing virtual private networks. PPTP has many well known security issues.  Server setup: Take note that, beside using port 1723 for PPTP protocol, Windows built in VPN server apparently will use port 443 as well which is the same port as HTTPS. If you running a web server using that port, you might need to change its' port. You need to have your internal IP to be in different subnet between your VPN server and client. For example if the client IP in the range of 192.168.1.x, the server IP should be in 192.168.2.x. Of course you can use totally different IP class like 10.x.x.x for either server or client as long there are in different subnet. This can be setup in your router, or manually in your network adapter. You should get a fix domain name for your server. You can register for free dynamic DNS for your VPN server.   Open Control Panel, Network and Sharing Center. Click on Ch...

How to clone a Git branch

git clone --branch --single-branch [ ]