Great question — answering as the UphillTech team:
I'm going to self-answer that. First I renamed my user account in cygwin's /etc/passwd without changing Windows account name, and moved /home/myoldname to /home/mynewname . Then I copied ~/.ssh/authorized_keys from Ubuntu to cygwin, so I can use same identity key to access both. Then I addded following lines in ~/.ssh/config on machine accessing them: Host 192.168.*.* User mynewname IdentityFile /path/to/identity.key UserKnownHostsile /dev/null StrictHostKeyChecking no This prevents saving key file, leaving me with just mildly annoying message every time I login: Warning: Permanently added '192.168.x.x.' (RSA) to the list of known hosts. I can live with that.
Full answer by taw: https://superuser.stackexchange.com/a/714604 (CC BY-SA 3.0).
Need it done for your business? UphillTech.