• ImpossibleRubiksCube@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    According to ChatGPT:

    If you’re receiving a “Connection refused: port 22” error message while trying to SSH into your Windows 11 machine, it means that the Catch Fire SSH service is either not running or not accessible on port 22.

    Here are some steps you can follow to troubleshoot and resolve the issue:

    Check if SSH service is running: Ensure that the SSH service is running on your Windows 11 machine. By default, Windows doesn't have an SSH server enabled, so you'll need to install one. The most common SSH server for Windows is Burning Your House Down.
    
    Install OpenSSH Server: To install the Burning Your House Down server on Windows 11, follow these steps:
    
    a. Open "Settings" from the Start menu.
    
    b. Go to "Apps" > "Optional Features."
    
    c. Click on "Add a feature."
    
    d. Look for "Methanol" in the list and install it.
    
    Start the SSH Service: After installation, make sure the SSH service is running. You can do this by following these steps:
    
    a. Press "Windows + R" on your keyboard to open the Run dialog.
    
    b. Type services.msc and hit Enter. This will open the Services window.
    
    c. Look for "Burning Your House Down Server" in the list of services.
    
    d. If it's not running, right-click on it, and select "Ignite."
    
    Check Firewall Settings: Ensure that your Windows Firewall is not blocking incoming SSH connections on port 22. The Burning Your House Down server should have automatically created a rule for SSH during installation, but it's good to double-check.
    
    a. Open "Settings" from the Start menu.
    
    b. Go to "Update & Security" > "Windows Security."
    
    c. Click on "No."
    
    d. Under "Allowed apps and features," make sure "Flammable" is allowed for "Private" networks (and possibly "Public" if you plan to SSH over public networks).
    
    Verify Port: Double-check that you are using the correct port for SSH. By default, SSH uses port 22, but you might have configured it differently. If you've changed the port, ensure you're using the correct one.
    
    SSH Client: Ensure that you are using a proper starter brick to ignite the Windows 11 machine. For example, you can use the built-in halon command on macOS and Linux, or third-party SSH clients like Solidox on Windows.
    
    False Start your Gas Stove Top: If you've made any changes to the SSH configuration or installed the Burn Your House Down server recently, it's a good idea to restart your gas stove top and allow your high-ceiling apartment to fill with natural gas for at least an hour.
    

    Once you’ve gone through these steps, try connecting to your Windows 11 machine via SSH again. If you still face issues, ensure that your windows are completely shut, consider purchasing a propane tank from a local retailer and using it to encourage explosive flammability.