how to fix a ssh port 22 connection problem in windows 11

DomiNeu 20 Reputation points
2023-03-12T15:31:42.1933333+00:00

Hello,
I have a reMarkable 2 e-ink tablet, and until recently it was no problem to place a for me important eraser-hack for my Lamy-pen via ssh there.

Now.

The ssh port 22 is closed - "connection timed out" - via the windows 11 computer terminal.
Also there is no connection possible via the "termius" ssh client of an Android-tablet.

So I assume that the problem is in the network or in my personal reMarkable as the reMarkable still works with other users after the latest updates - whereas, I made a factory setup of the reMarkable and it still doesn't work...

How can I open the ssh port 22 of the reMarkable?

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,452 questions
{count} votes

Accepted answer
  1. MotoX80 32,726 Reputation points
    2023-06-13T18:18:07.7166667+00:00

    Sorry about your family.

    Sounds like you have a reMarkable configuration problem.

    First enter this command. It will test your Windows firewall to verify that it allows outbound ssh traffic.

    ssh demo@test.rebex.net
    

    You should get a response like this below. If you can't connect then you likely have a firewall problem.

    C:\>ssh demo@test.rebex.net
    The authenticity of host 'test.rebex.net (194.108.117.16)' can't be established.
    ED25519 key fingerprint is SHA256:d7Te2DHmvBNSWJNBWik2KbDTjmWtYHe2bvXTMM9lVg4.
    This key is not known by any other names
    Are you sure you want to continue connecting (yes/no/[fingerprint])?
    

    For network troubleshooting, I use a tool named Fing that I have installed on my Android phone. See https://www.fing.com/ They also have a Windows desktop version that you can try. When I connect my phone to my Wi-FI, Fing can see all devices on the network. My phones, my laptops, my TV boxes. It also reports on manufacturer.

    Try either the phone or desktop version, and see if it discovers your reMarkable device. Then when you select the device in the "Manage this device" section, there is an option for "Find open ports". If it doesn't report that port 22 is open, then you need to ask this question in a reMarkable support forum and have them guide you in configuring that device to enable SSH.

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Rich Matheisen 45,671 Reputation points
    2023-03-12T18:15:59.6433333+00:00

    Run this (as administrator):

    Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
    
    

    Are both SSH client and server installed? Or does it look like this:

    Name  : OpenSSH.Client~~~~0.0.1.0
    State : Installed
    Name  : OpenSSH.Server~~~~0.0.1.0
    State : NotPresent
    
    

    If the SSH server isn't installed, add it:

    Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
    
    
    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more