Skip to content

v2.1.0 - Zero-Config SFTP & Native SSH Auth

Latest

Choose a tag to compare

@pablo-codes pablo-codes released this 29 Aug 10:38

What's New in v2.1.0 🔑

This release brings a new quality-of-life feature: Zero-Config SFTP Authentication.

local-git-deploy now seamlessly integrates with your system's native SSH configuration!

If you already have SSH keys set up to access your server, you no longer need to specify credentials in your .env or local-git-deploy.yml file.

✨ Highlights

  • ~/.ssh/config Support: The tool now parses your native SSH config file. You can simply provide a server alias (e.g., server: myserver), and it will automatically resolve the true HostName, User, Port, and IdentityFile directly from your SSH config.
  • SSH Agent Support: Automatically detects keys loaded via ssh-add using the SSH Agent (SSH_AUTH_SOCK on Linux/macOS, or the OpenSSH Authentication Agent on Windows).
  • Default Key Auto-Detection: Automatically probes for default SSH keys (~/.ssh/id_ed25519, ~/.ssh/id_rsa, ~/.ssh/id_ecdsa) if no other credentials are provided.
  • Optional User Field: When using SFTP, the user field in your config is now optional. It will gracefully fall back to the User specified in your ~/.ssh/config, or default to your local OS username.

Note: This is purely additive and 100% backwards compatible. Any explicit credentials you have in your .env or .yml files will always take priority over the auto-detected settings.