added individual user to the usual .ssh/config

This commit is contained in:
Stefan Friese 2024-08-07 17:23:19 +02:00
parent 681d685f73
commit fa90dec208
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ ssh() {
} }
ssh-host() { ssh-host() {
ssh $(awk '$1 == "Host" && $2 != "*" {print $2}' "$HOME/.ssh/config" | fzf --reverse) ssh $(cat "$HOME/.ssh/config" "$HOME/.ssh/conf.d/individual_user" \
| awk '$1 == "Host" && $2 != "*" {print $2}' | fzf --reverse)
} }
# Creates a new directory and immediately changes into it # Creates a new directory and immediately changes into it