Set up your SSH key-based authentication from Windows in a single line

Using Linux directly to interact with Linux servers is pretty great and seamless. But when your daily driver is Windows, this can be a little more cumbersome. For instance, when connecting with the Windows version of OpenSSH there is a way to copy your generated key for simple password-less logins after that. Generate your private and public keys in your Windows PowerShell shell Execute the command below in Windows Terminal or any other terminal in Windows: ...

October 18, 2023 · 2 min · Ismael Lamberty

SSH Tunneling for easy access to web-based apps from servers

I had to access Portainer in my cloud VM to modify docker containers. I can access it now via any web browser with SSL (https) no problem, but this way is good in a pinch. Run this command in your local machine: ssh -L 9000:127.0.0.1:9000 my_user@my-remote-server This will forward port 9000 to our local machine: http://localhost:9000 or http://127.0.0.1:9000 At this local address the Portainer web UI from the remote server will appear. ...

October 13, 2023 · 1 min · Ismael Lamberty