-
Create
~/.local/share/applications/ssh.desktop
with the following:[Desktop Entry] Version=1.0 Type=Application Name=SSH Handler Terminal=true Exec=bash -c '(URL="%U" HOST="${URL#ssh://}"; ssh $HOST)' Icon=utilities-terminal StartupNotify=false MimeType=x-scheme-handler/ssh;
-
Run the following command:
xdg-mime default ssh.desktop x-scheme-handler/ssh
ssh://
links should now open up a terminal window.