Add 'fzf-ssh' script
This commit is contained in:
5
.bin/ssh-hosts
Executable file
5
.bin/ssh-hosts
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ssh_hosts=$(grep -E 'Host [a-z0-9\-]*$' ~/.ssh/config | awk '{print $2}')
|
||||
|
||||
echo "$ssh_hosts"
|
||||
Reference in New Issue
Block a user