ps1aniuge

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

  •  
  •   ps1aniuge · Jun 14, 2019 · 5378 views
    This topic created in 2698 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
    BBCCBB
    Jun 14, 2019
    1
    楼主太监了.
    ps1aniuge
    ps1aniuge
    OP
    Jun 14, 2019
    2
    步骤,说明,贴不了,

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

    2 产生密钥

    3 用我的脚本。

    4 测试下。

    5 vsc 升级到最新版。

    6 安装 vsc 插件。

    7 配置 vsc 插件。
    ps1aniuge
    ps1aniuge
    OP
    Jun 14, 2019
    4
    插件=remote-ssh,remote-ssh-explorer
    ps1aniuge
    ps1aniuge
    OP
    Jun 14, 2019
    5
    脚本目的:
    从 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
    zhengwhizz
    Jun 14, 2019 via Android
    6
    不错,虽然发公钥 echo 下不就行了吗?
    janxin
    janxin
    Jun 14, 2019
    7
    我还在想是什么东西...应该标注一下是 windows
    zw1027
    zw1027
    Jun 14, 2019
    8
    看了一下自己安装的插件,SSH FS。。
    aggresss
    aggresss
    Feb 18, 2020
    9
    楼主为何不用 WSL 一键解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1561 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:04 · PVG 07:04 · LAX 15:04 · JFK 18:04
    ♥ Do have faith in what you're doing.