On Windows you need to install the openssh client using Windows settings and in RStudio change your terminal to use PowerShell, then you can ssh into any server almost as usual (some minor syntax differences).
This works for interactive use on a terminal but sadly, as far as I know, there is no programatic way of using ssh connections from an Rmd document or scripts on Windows. Maybe you could use openssh through system commands but I haven't tried.