Hasty Briefsbeta

Bilingual

Disable Your SSH access accidentally with scp

4 days ago
  • #SSH
  • #SCP
  • #OpenSSH
  • SSH access was disabled after an SCP file transfer due to changed home directory permissions.
  • The home directory permissions were inadvertently set to 777 (rwxrwxrwx) by SCP, matching the source directory's permissions.
  • OpenSSH's security checks rejected SSH key authentication due to the overly permissive home directory.
  • The issue was resolved by reverting the home directory permissions back to 700 (rwx------).
  • A bug report was submitted to OpenSSH, leading to a quick fix slated for the next release (10.3).