zoukankan      html  css  js  c++  java
  • WSL ssh服务自启动

    1. 在cmd中运行命令

      C:Users用户名AppDataLocalMicrosoftWindowsAppsubuntu版本.exe run "service ssh start"
      
    2. 新建xxx.bat

      • xxx.bat内容为
        C:Users用户名AppDataLocalMicrosoftWindowsAppsubuntu1804.exe run "service ssh start"
        
    3. (可选) 如果想在启动服务时, 窗口最小化, 可以创建xxx.bat的快捷方式(即右键xxx.bat, 发送到桌面), 然后右键快捷方式, 修改为最小化显示, 然后将快捷方式放入C:Users用户名AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup中(或设置计划任务)

    4. 如果不需要最小化则可以直接将xxx.bat放入文件夹中

  • 相关阅读:
    Java的特性和优势
    MyBatis
    SpringBoot简介
    Liunx
    MySql简介与入门
    Volatile
    MySQL简介
    Redis
    Spring IoC
    什么是springboot
  • 原文地址:https://www.cnblogs.com/edhg/p/11562490.html
Copyright © 2011-2022 走看看