ps1aniuge

新出炉的 ssh-copy-id6.ps1,是新版 vscode 的最佳拍档

  •  
  •   ps1aniuge · Jun 14, 2019 · 5056 views
    This topic created in 2560 days ago, the information mentioned may be changed or developed.
    vscode 1.35 发布了!
    这个版本原生支持从本地 vscode 经 ssh,打开编写,任何远程代码。
    它基于使用秘钥的 ssh。

    而我编写的这个脚本,专门帮助你实现,从 win 发布公钥到 linux。
    Supplement 1  ·  Feb 19, 2020
    老地址失效,新地址如下:
    我的所有 powershell 脚本,下载地址:
    https://pan.baidu.com/s/16deKKe3ZnCg809lffiVZWg
    9 replies    2020-02-18 15:18:34 +08:00
    BBCCBB
        1
    BBCCBB  
       Jun 14, 2019
    楼主太监了.
    ps1aniuge
        2
    ps1aniuge  
    OP
       Jun 14, 2019
    步骤,说明,贴不了,

    脚本最新版下载地址:
    https://pan.baidu.com/s/1n3ahVhYTyrGIm9n4N1SPRw
    提取码:i55m
    ps1aniuge
        3
    ps1aniuge  
    OP
       Jun 14, 2019
    简单说下,使用步骤:
    1 下载 ssh

    2 产生密钥

    3 用我的脚本。

    4 测试下。

    5 vsc 升级到最新版。

    6 安装 vsc 插件。

    7 配置 vsc 插件。
    ps1aniuge
        4
    ps1aniuge  
    OP
       Jun 14, 2019
    插件=remote-ssh,remote-ssh-explorer
    ps1aniuge
        5
    ps1aniuge  
    OP
       Jun 14, 2019
    脚本目的:
    从 win、linux 中复制 [本机 ssh 公钥] ,到 [目的 linux 版 ssh 服务器] 。

    前提条件:
    install-module winscp

    用法:
    ssh-copy-id6.ps1 -目的 ip 1.2.3.4 -用户密码明文 '你的密码明文'

    把密码写入脚本中,然后用 ssh-copy-id6.ps1 -目的 ip 1.2.3.4
    zhengwhizz
        6
    zhengwhizz  
       Jun 14, 2019 via Android
    不错,虽然发公钥 echo 下不就行了吗?
    janxin
        7
    janxin  
       Jun 14, 2019
    我还在想是什么东西...应该标注一下是 windows
    zw1027
        8
    zw1027  
       Jun 14, 2019
    看了一下自己安装的插件,SSH FS。。
    aggresss
        9
    aggresss  
       Feb 18, 2020
    楼主为何不用 WSL 一键解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5111 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 03:48 · PVG 11:48 · LAX 20:48 · JFK 23:48
    ♥ Do have faith in what you're doing.