Skip to content

Instantly share code, notes, and snippets.

@guimossibento
Last active February 14, 2022 17:33
Show Gist options
  • Save guimossibento/859af6c7f1df7cd72cdee1af05924382 to your computer and use it in GitHub Desktop.
Save guimossibento/859af6c7f1df7cd72cdee1af05924382 to your computer and use it in GitHub Desktop.

Revisions

  1. guimossibento revised this gist Feb 14, 2022. No changes.
  2. guimossibento revised this gist Feb 14, 2022. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ssh_key_commnad.md
    Original file line number Diff line number Diff line change
    @@ -2,16 +2,16 @@

    * ## cria uma key com a ppk
    * * ##### caminho da ppk e caminho da key
    ```
    ```bash
    puttygen /home/user/Desktop/file.ppk -O private-openssh -o /home/user/.ssh/file.key
    ```

    * ## permissao
    ```
    ```bash
    chmod 400 /home/user/.ssh/file.key
    ```

    * ## executar
    ```
    ```bash
    ssh -i /home/user/.ssh/file.key server_user@host
    ```
  3. guimossibento revised this gist Feb 7, 2022. 2 changed files with 17 additions and 7 deletions.
    17 changes: 17 additions & 0 deletions ssh_key_commnad.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    * ## instalar putty-tools

    * ## cria uma key com a ppk
    * * ##### caminho da ppk e caminho da key
    ```
    puttygen /home/user/Desktop/file.ppk -O private-openssh -o /home/user/.ssh/file.key
    ```

    * ## permissao
    ```
    chmod 400 /home/user/.ssh/file.key
    ```

    * ## executar
    ```
    ssh -i /home/user/.ssh/file.key server_user@host
    ```
    7 changes: 0 additions & 7 deletions ssh_key_commnad.txt
    Original file line number Diff line number Diff line change
    @@ -1,7 +0,0 @@
    instalar putty-tools
    cria uma key com a ppk
    puttygen /home/user/Desktop/file.ppk -O private-openssh -o /home/user/.ssh/file.key
    caminho da ppk e caminho da key
    chmod 400 /home/user/.ssh/file.key
    permissao
    ssh -i /home/user/.ssh/file.key server_user@host
  4. guimossibento created this gist Feb 7, 2022.
    7 changes: 7 additions & 0 deletions ssh_key_commnad.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    instalar putty-tools
    cria uma key com a ppk
    puttygen /home/user/Desktop/file.ppk -O private-openssh -o /home/user/.ssh/file.key
    caminho da ppk e caminho da key
    chmod 400 /home/user/.ssh/file.key
    permissao
    ssh -i /home/user/.ssh/file.key server_user@host