📅 2025-03-31 — Session: Automated Deployment and SSH Configuration

🕒 22:40–23:25
🏷️ Labels: SSH, Automation, Deployment, Python, AWS
📂 Project: Dev
⭐ Priority: MEDIUM

Session Goal

The session aimed to enhance deployment processes and secure SSH connections for server management.

Key Activities

  • Converted date formats to Spanish using pandas in Python, providing code examples.
  • Explored translation options for ledger captions in Python, focusing on Spanish language variants.
  • Utilized scp with a custom SSH port for file transfers, including troubleshooting guidance.
  • Reconstructed SCP commands for web deployment, emphasizing command structure and error handling.
  • Suggested creating a deploy.sh script for automated file uploads and adding an alias in .bashrc for ease of use.
  • Verified SSH host keys and managed known hosts to ensure secure connections.
  • Addressed SSH connection issues on AWS Lightsail, providing a checklist and troubleshooting steps.

Achievements

  • Developed a robust understanding of automating deployments using bash scripting.
  • Improved SSH security practices by managing host keys and known hosts.
  • Resolved SSH connection issues on AWS Lightsail with detailed troubleshooting.

Pending Tasks

  • Implement the deploy.sh script and test it in a live environment.
  • Finalize translation options for ledger captions based on contextual needs.