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/configSupport: The tool now parses your native SSH config file. You can simply provide aserveralias (e.g.,server: myserver), and it will automatically resolve the trueHostName,User,Port, andIdentityFiledirectly from your SSH config.- SSH Agent Support: Automatically detects keys loaded via
ssh-addusing the SSH Agent (SSH_AUTH_SOCKon 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
userfield 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
.envor.ymlfiles will always take priority over the auto-detected settings.