7/30/2023 0 Comments Windows ssh tunnel![]() ![]() The background version of ssh enters a race. Fine, let's just send the process to the background: laptop ssh machine -LN 4040:localhost:4040 & laptop f f: file not found laptop fg C. ![]() That's great, but it's now taking my user's shell hostage. What is a good approach to doing this on Windows 10 or 11? I would like to set up one proof of concept system. No problem, man ssh says that's what -L is for: laptop ssh machine -LN 4040:localhost:4040. That means updates (such as changes to a server that require an update to client settings) need to be able to be pushed to remote clients in a fairly automated way. What tools would I need to use to set this up? The procedure ultimately has to be something that can be managed for a remote team. In it, there's a whole section called The PuTTY command line within the section called Using PuTTY. The Help button in the screenshot you posted will open the PuTTY User Manual. I'm tasked with this because I know a little about using OpenSSH on Linux. I actually prefer to just launch it from the Windows Run dialog or a powershell/cmd prompt most of the time. However, I don't have any personal experience using Windows. I also know that there is a Windows subsystem for Linux. I read that there is a built-in Windows 10 SSH client that became part of Windows starting from Windows 10 v1809 and Windows Server 2019. These need to be under the management of the admin account, not the user account. On six (or more) business laptops for a small startup, we need to set up SSH tunnels that start at bootup and stay up all the time without any user intervention.Įach tunnel needs to have a local port, to establish a connection with a Linux server using ed25519 keys, to be monitored by autossh or similar so the tunnel stays connected. (Also, btw, that similar question has several answers that reference products which no longer exist and none of the answers there answer my question.) In contrast, I'm looking for something that will run under the admin account without any action by the user and be rock solid. Even some of the answers there admit that those solutions can be inconvenient and unreliable. That other question focuses on tools a single user can set up and manage themselves. My solution requires a Linux OpenSSH server and Windows clients. The accepted answer at the similar question Automatic SSH tunneling from Windows - Super User recommends Bitvise Tunnelier which requires a Windows client and Windows server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |