Dimas Maulana

Dimas Maulana

Developer

Welcome to my website! I am a developer with a current focus on React and Go. My experience encompasses both front-end and back-end development, enabling me to design and develop seamless and efficient applications.

Refreshing Your Virtual Machine List in VirtualBox on Windows via SSH CLI

Sometimes, when working with VirtualBox on Windows, you might encounter an issue where your virtual machine list doesn’t update correctly, even after making changes like unlocking an encrypted drive. This can be frustrating when you’re trying to manage your VMs.

This article will guide you through a solution to refresh your VirtualBox VM list via the command line interface (CLI) accessed via SSH.

The Problem

Let’s say you have a virtual machine stored on an encrypted drive. When Windows starts, the drive is locked. You can unlock the drive via SSH, but when you try to list your virtual machines using vboxmanage within your SSH session, you might still get an “access denied” error.

Delete Referenced Photos Origin Files From Mac Photos

This guide explains how to delete referenced photos from Mac Photos and safely remove referenced photos using a dedicated application.

Export Referenced Photos as Original Photos

  1. Open the Photos app on your Mac.
  2. Select the photos you want to delete.
  3. In the File menu, choose Export Original.
  4. Select a designated folder to save the exported photos.

Find Duplicate Files

  1. Download and install a duplicate finder application like DupeGuru.
  2. Launch DupeGuru and select the folder where you saved the exported photos and referenced photos folder.
  3. Run a scan to identify duplicate files.

Delete Duplicate Files

  1. Review the list of duplicate files generated by DupeGuru.
  2. Delete all identified duplicate files.

Note: This process assumes all file names are unique. If duplicates have similar names, you might need to manually review and select the correct files to delete.

Resolving Missing OpenSSH Service Configuration After Uninstallation

This article explains how to address a potential issue with OpenSSH configuration after uninstalling and reinstalling the service.

The Problem

When OpenSSH is uninstalled via the Installer, the configuration for the sshd service might be removed. Even if you reinstall OpenSSH through the Feature option, the configuration may still be missing. This can prevent SSH from functioning properly.

Resolving SSH Key Loading Issues on Windows

While SSH is commonly associated with Linux and Unix systems, it can also be configured on Windows. This guide focuses on resolving SSH key loading issues specifically for Windows environments.

Understanding the Challenge

Similar to Linux/Unix, the default SSH configuration on Windows might only load keys authorized by administrators, typically stored in a location like %ProgramData%\ssh\administrators_authorized_keys. This restricts user access unless they are explicitly added to the administrator-authorized keys.

Rsync to Windows Open SSH

Attempting to perform an rsync operation from a Linux or macOS system to a Windows machine directly using the rsync command will fail. This is because Windows does not have a built-in rsync utility.

A typical command like rsync /source/ target-hostname:/mnt/e/target/ will result in an error.

Solution

Leverage the power of the Windows Subsystem for Linux (WSL) to enable rsync functionality on your Windows system.

0%