dotfiles/bin/.bin/quickssh

5 lines
102 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
sshchoice=$(grep -Eo '^[^, ]+' $HOME/.ssh/known_hosts | dmenu)
$TERMINAL -e ssh $sshchoice