As an engineer, you might come across some task that need to run commands on remote machine. This post will show you how to use plink to run command on remote machine. PuTTY Link (Plink), a command-line utility for secure remote access. You can find the software here. If you have installed full version of… Continue reading Run commands on remote server using plink
Tag: powershell
Test remote port open on Windows
It’s important to know how to test if a remote port is available or not. Here is how to test a port on windows machine. Simply run below command in powershell. or shorten version Here is a sample of a success. Here is a sample of a fail. Sometimes powershell get stuck, just hit Enter… Continue reading Test remote port open on Windows
Use cellular data as “wan” connection
Here is a simple diagram of the lab. PC1 has 2 connection, one with cell phone(wifi) and the other is a ethernet cable connect to PC2. PC2 only has 1 connection which connects to PC1. We want to let PC2 access to Internet through wifi connection of PC1. 01 Enable IP ForwardingWe have to edit… Continue reading Use cellular data as “wan” connection