Translations:Configuring WSL as a ControlMaster relay server/14/en
Jump to navigation
Jump to search
Alternative setup
There is another way in which you could customize the authorized keys on Ubuntu and the ~/.ssh/config on Windows such that it may work better for some Windows GUI apps that don't let you explicitly set the RemoteCommand
(such as WinSCP). In this case you set the RemoteCommand
on the public key:
jaime@ubuntu:~/custom_ssh$ cat /home/jaime/custom_ssh/authorized_keys command="ssh cedar" ssh-ed25519 AAAZDINzaC1lZDI1NTE5AAC1lZDIvqzlffkzcjRAaMQoTBrPe5FxlSAjRAaMQyVzN+A+