1. Information

kitty-0.76.1.13.exe                               ssh://delta@localhost:222     # OK
kitty-0.76.1.13.exe -i id_ed25519-auto.ppk        ssh://delta@localhost:222     # OK
kitty-0.76.1.13.exe -i id_ed25519-auto.ppk -P 222 ssh://delta@localhost         # OK
kitty-0.76.1.13.exe -i id_ed25519-auto.ppk -P 222       delta@localhost         # OK

putty.exe                               ssh://delta@localhost:222               # Using username "ssh://delta".
putty.exe -i id_ed25519-auto.ppk        ssh://delta@localhost:222               # Using username "ssh://delta".
putty.exe -i id_ed25519-auto.ppk -P 222 ssh://delta@localhost                   # Using username "ssh://delta".
putty.exe -i id_ed25519-auto.ppk              delta@localhost:222               # FAIL
putty.exe -i id_ed25519-auto.ppk -P 222       delta@localhost                   # OK

ssh.exe                           ssh://delta@localhost:222                     # OK
ssh.exe -i id_ed25519-auto        ssh://delta@localhost:222                     # OK
ssh.exe -i id_ed25519-auto -p 222 ssh://delta@localhost                         # OK
ssh.exe -i id_ed25519-auto -p 222       delta@localhost                         # OK

wt.exe ssh.exe                           ssh://delta@localhost:222              # OK
wt.exe ssh.exe -i id_ed25519-auto        ssh://delta@localhost:222              # OK
wt.exe ssh.exe -i id_ed25519-auto -p 222 ssh://delta@localhost                  # OK
wt.exe ssh.exe -i id_ed25519-auto -p 222       delta@localhost                  # OK

2. Browsers

2.1. Google Chrome

:: Prevent "Open Windows Terminal Launcher Shim?" popup.
reg.exe add HKLM\SOFTWARE\Policies\Google\Chrome\URLAllowlist  /v "1" /d "rdp://*" /f
reg.exe add HKLM\SOFTWARE\Policies\Google\Chrome\URLAllowlist  /v "2" /d "ssh://*" /f
:: Restart the browser.

2.2. Microsoft Edge

:: Prevent "This site is trying to open Windows Terminal Launcher Shim" popup.
reg.exe add HKLM\SOFTWARE\Policies\Microsoft\Edge\URLAllowlist /v "1" /d "rdp://*" /f
reg.exe add HKLM\SOFTWARE\Policies\Microsoft\Edge\URLAllowlist /v "2" /d "ssh://*" /f
:: Restart the browser.

2.3. Mozilla Firefox

  • See https://support.mozilla.org/en-US/kb/about-config-editor-firefox.

  • If you are using FireFox on Windows you will need to tell FireFox to open ssh:// links externally.

  • In Firefox, go to about:config.

  • To add a new preference, enter its name into the Search preference name box at the top of the about:config page.

  • At the bottom of the search results (if any), there will be the option to create a new preference.

    network.protocol-handler.external.ssh BOOL true
    network.protocol-handler.expose.ssh BOOL false
    network.protocol-handler.warn-external.ssh BOOL false
Mozilla Firefox: Prevent "Allow http.... to open the rdp link with Windows Command Processor?" popup.
Mozilla Firefox: about:config
Mozilla Firefox: network.protocol-handler.external.rdp BOOL true                # Make it work.
Mozilla Firefox: network.protocol-handler.expose.rdp BOOL false                 # Prevent empty tab.
Mozilla Firefox: network.protocol-handler.warn-external.rdp BOOL false          # Prevent popup.

Mozilla Firefox: Prevent "Choose an application to open the ssh link with Windows Terminal Launcher Shim" popup.
Mozilla Firefox: about:config
Mozilla Firefox: network.protocol-handler.external.ssh BOOL true                # Make it work.
Mozilla Firefox: network.protocol-handler.expose.ssh BOOL false                 # Prevent empty tab.
Mozilla Firefox: network.protocol-handler.warn-external.ssh BOOL false          # Prevent popup.

3. Linux

4. Windows