- Added UCXL validator implementation with error codes and response codes - Created Docker-based development environment - Implemented frontend browser interface with TypeScript/React - Added backend validation service in Python - Created comprehensive UCXL browser specification and validation tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
606 B
Bash
Executable File
28 lines
606 B
Bash
Executable File
#!/bin/bash
|
|
|
|
INVENTORY="inventory.ini"
|
|
KEY_PATH="$HOME/.ssh/id_rsa.pub"
|
|
|
|
if [ ! -f "$KEY_PATH" ]; then
|
|
echo "❌ SSH public key not found at $KEY_PATH"
|
|
exit 1
|
|
fi
|
|
|
|
# Start ssh-agent if not already running
|
|
eval "$(ssh-agent -s)" >/dev/null
|
|
ssh-add
|
|
|
|
# Extract IPs from [popos] group
|
|
HOSTS=$(awk '/^\[popos\]/ {flag=1; next} /^\[.*\]/ {flag=0} flag && NF' "$INVENTORY" | awk '{print $1}')
|
|
|
|
echo "📡 Distributing SSH key to:"
|
|
echo "$HOSTS"
|
|
echo
|
|
|
|
for HOST in $HOSTS; do
|
|
echo "🔑 Copying key to $HOST..."
|
|
ssh-copy-id -i "$KEY_PATH" "tony@$HOST"
|
|
done
|
|
|
|
echo "✅ SSH key copied to all hosts in [popos]"
|