Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 550 Bytes

ubuntu-16.04-ssh-links.md

File metadata and controls

22 lines (18 loc) · 550 Bytes

Instructions to setup Ubuntu 16.04 Desktop to open ssh:// links

  1. 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;
  2. Run the following command:

    xdg-mime default ssh.desktop x-scheme-handler/ssh

ssh:// links should now open up a terminal window.