Created
November 22, 2019 08:10
-
-
Save TomCan/02a333e5459f13c802e8c925ee1413fa to your computer and use it in GitHub Desktop.
xdg-open ssh://
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdg-mime default ssh.desktop x-scheme-handler/ssh | |
cat << EOF > ~/.local/share/applications/ssh.desktop | |
[Desktop Entry] | |
Version=1.0 | |
Name=SSH Launcher | |
Exec=bash -c '(URL="%U" HOST="\${URL:6}"; ssh \$HOST); bash' | |
Terminal=true | |
Type=Application | |
Icon=utilities-terminal | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment