• 0 Posts
  • 13 Comments
Joined 11 months ago
cake
Cake day: August 8th, 2023

help-circle
  • Since you added a question mark, commands is the correct general term. However there are two types that can be a command. Functions: which are written in pure powershell and cmdlets: which are commands provided by dotnet classes. (Also exes and a bunch of other stuff common to other shells can be a command, but that’s not important.)

    The reason they have different names is early on functions didn’t support some of the features available to cmdlets, such as pipeline input. There was later a way to add this support to functions.

    In practice call them any of the 3 and people will know that you mean.


  • It depends where you want the complexity.

    Since ssh is a layer4 tunnel if you don’t run a proxy on your home box, you’ll need a new network connection for each service, if you are fine with that, I would set it up only on the VPS. This means if the tunnel goes down, you should at least get 502 error rather than a timeout or connection refused.

    Alternatively you could forward 80, 443 to a proxy service on the home server. That would require two ports for the ssh.

    You can drop it to a single ssh connection by having a proxy on both and just have the VPS proxy Http and https to the same port on the home server.