We want to install OpenSSH on a Windows Server 2019, so we can remote access it with ssh myuser@win2019.
We want also to turn on PowerShell Remoting over SSH, so we can create PSSession objects from PowerShell Core on Linux/MacOs/Windows.
| [1,2,3,7,10,20,34] | 
| $ whois gov.fi | |
| domain.............: gov.fi | |
| status.............: Registered | |
| created............: 12.9.2016 10:07:23 | |
| expires............: 12.9.2023 10:07:23 | |
| available..........: 12.10.2023 10:07:23 | |
| modified...........: 31.3.2020 10:24:17 | |
| holder transfer....: 7.11.2017 08:31:13 | |
| RegistryLock.......: no | 
| #!/bin/bash | |
| TMP=`mktemp` | |
| trap ctrlC INT | |
| removeTempFiles() { | |
| rm -f $TMP | |
| } | |
| ctrlC() { | 
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] | |
| "MaxOutstandingConnections"=dword:00000bb8 | 
| // use this to filter out relevant comments in huge HN threads | |
| // open a post with jobs in comments, e.g. https://news.ycombinator.com/item?id=18807017 | |
| // open browser developer console (F12 or Alt-Cmd-C usually works) | |
| // paste code of these functions: | |
| function showComments(keywords) { | |
| [].filter.call(document.getElementsByClassName('comment'), c => keywords.every(kw => c.innerText.toLowerCase().includes(kw.toLowerCase()))).forEach(c => c.classList.remove('noshow')) | |
| } | |
| function hideAll() { | |
| [].forEach.call(document.getElementsByClassName('comment'), c => c.classList.add('noshow')) | 
| {"data":{"currency":"wei","amount":"50000000000000000"}} | 
| 0x821aEa9a577a9b44299B9c15c88cf3087F3b5544 | 
| 0xa2CC720f34369E6176188A8Ba72Ff5581eB8C776 |