Skip to content

Instantly share code, notes, and snippets.

@b1tg
Last active June 11, 2018 02:12
Show Gist options
  • Select an option

  • Save b1tg/9edcc7e8e9ca81c8410bace8f38283c0 to your computer and use it in GitHub Desktop.

Select an option

Save b1tg/9edcc7e8e9ca81c8410bace8f38283c0 to your computer and use it in GitHub Desktop.

Revisions

  1. b1tg revised this gist Jun 11, 2018. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion connect.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@
    #!/bin/sh
    ssh-copy-id -p 53 [email protected] # 复制密钥,无密码登录
    scp -P 53 ~/Downloads/ngrok-stable-linux-arm.zip [email protected]:/home/pi # scp -P 指定端口
    ssh -p 53 [email protected] # ssh -p 指定端口
  2. b1tg revised this gist Jun 11, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions connect.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    #!/bin/sh
    ssh-copy-id -p 53 [email protected] # 复制密钥,无密码登录
    scp -P 53 ~/Downloads/ngrok-stable-linux-arm.zip [email protected]:/home/pi # scp -P 指定端口
    ssh -p 53 [email protected] # ssh -p 指定端口
  3. b1tg created this gist Jun 11, 2018.
    3 changes: 3 additions & 0 deletions connect.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ssh-copy-id -p 53 [email protected] # 复制密钥,无密码登录
    scp -P 53 ~/Downloads/ngrok-stable-linux-arm.zip [email protected]:/home/pi # scp -P 指定端口
    ssh -p 53 [email protected] # ssh -p 指定端口