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
#!/bin/bash | |
# Path to the SSH config file | |
config_file="$HOME/.ssh/config" | |
# Check if the SSH config file exists | |
if [[ ! -f "$config_file" ]]; then | |
echo "SSH config file not found at $config_file" | |
exit 1 | |
fi |