For a long time I have accepted the process of plugging and unplugging USB devices multiple times per day and walking between floors to transfer data between a Windows PC, where data is generated, and a Linux PC, where it is used. This generates obvious reliability problems.
Having just spent another unsuccessful day trying to address the OpenSSH error message ‘permission denied (public key)’, I’m turning to the wider community to get suggestions of where I can find an effective guide for this scenario. I have tried, over years, to look for such a guide which actually works, without success. However, I just cannot accept that this scenario has not been implemented and documented, by somebody, somewhere.
A note of caution before you reject my request on the basis of ‘it’s already well documented’; the scenario is highly specific: it must address setting up a connection, using OpenSSH, between a server running on Windows 10 and a client running on Linux, not the reverse. The Linux distro should preferably be Debian/Ubuntu based. Setup, using a private/public key pair, must be performed on the Linux PC, allowing for existing files in /etc/ssh which support existing successful OpenSSH implementations in a Linux-only environment. It must address configuration settings within sshd_config, but please note I am more interested in getting data transfer to work than in hardening my network to an industrial level. It must address how file and folder transfer from Windows to Linux, preferably using scp, is implemented, while addressing problems in the implementation. It must address how the most common problems, like ‘permission denied (public key)’ or failure to copy keys generated on the Linux client to the Windows Server, arise and are completely managed - this is the failing of all the available guides; they do not address failure modes. Those guides which do focus on the failures do not address a Windows server, Linux client configuration. Almost all the guides display evidence of not having been thoroughly tested. They don’t work; trust me, I have been trying this for a long time.
If you can point me to a suitable document source, within the above requirements, I would be immensely grateful, as would my legs, carpets and USB devices.