[TIP] Cliente / Server de SSH en Windows 10

Colapsar
X
 
  • Filtrar
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • jmtella
    Administrator
    • Nov
    • 19902

    [TIP] Cliente / Server de SSH en Windows 10

    Supongo que conoceis que en Windows 10, en Configuracion, Apps, Optional Features se pueden instalar tanto el server como el cliente de SSH.

    Un vez instalado, podemos ver el estado con PowerShell: (arrancado como Administrador)

    Get-Service sshd

    El servicio aparecerá como Stopped. Para arrancarlo:

    Start-Service sshd

    Y si queremos que sea arranque automatico en vez de manula, simplemente le cambiamos:

    Set-Service -Name sshd -StartupType 'Automatic'

    Deebemos verificar igualmente las regals del firewall:

    Para ello:

    Get-NetFirewallRule -Name *ssh*

    Y nos aparecerá:

    Código:
    Name : OpenSSH-Server-In-TCP
    DisplayName : OpenSSH SSH Server (sshd)
    Description : Inbound rule for OpenSSH SSH Server (sshd)
    DisplayGroup : OpenSSH Server
    Group : OpenSSH Server
    Enabled : True
    Profile : Any
    Platform : {}
    [B][COLOR=#e74c3c]Direction : Inbound
    Action : Allow[/COLOR][/B]
    EdgeTraversalPolicy : Block
    LooseSourceMapping : False
    LocalOnlyMapping : False
    Owner :
    PrimaryStatus : OK
    Status : The rule was parsed successfully from the store. (65536)
    EnforcementStatus : NotApplicable
    PolicyStoreSource : PersistentStore
    PolicyStoreSourceType : Local
    Es importante que estan correctas las marcadas en rojo.

    Probamos bien desde nuestra maquina o bien desde una remota el correcto funcionamiento mediamente el comando:

    ssh IP_MAQUINA

    Hay multitud de opciones que podeis ver telecando simplemente ssh.
Trabajando...
X