line of comment for ssh-host

This commit is contained in:
Stefan Etringer 2025-10-09 10:14:38 +02:00
parent 3b68cfac93
commit ceacff300d
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ ssh() {
# exit # exit
} }
# Use fzf to find all your configured ssh connection
ssh-host() { ssh-host() {
ssh $(cat "$HOME/.ssh/config" "$HOME/.ssh/conf.d/individual_user" \ ssh $(cat "$HOME/.ssh/config" "$HOME/.ssh/conf.d/individual_user" \
| awk '$1 == "Host" && $2 != "*" {print $2}' | fzf --reverse) | awk '$1 == "Host" && $2 != "*" {print $2}' | fzf --reverse)