Skip to content

Instantly share code, notes, and snippets.

@danialmalik
Last active June 20, 2019 06:54
Show Gist options
  • Select an option

  • Save danialmalik/cdf9dbea4cb706ecb6904f14e36eee51 to your computer and use it in GitHub Desktop.

Select an option

Save danialmalik/cdf9dbea4cb706ecb6904f14e36eee51 to your computer and use it in GitHub Desktop.

Revisions

  1. Danial Malik revised this gist Jun 20, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion philu_vagrant_ssh_fix
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    If you cannot ssh into vagrant box and it requires a password everytime. use following commands:
    ```sh
    ssh-keygen -f ~/.vagrant.d/insecure_private_key
    ssh-copy-id -i ~/.vagrant.d/insecure_private_key -p 2222 [email protected]
    ssh-copy-id -i ~/.vagrant.d/insecure_private_key -p 2222 [email protected].1
    ```
  2. Danial Malik created this gist Jun 11, 2019.
    5 changes: 5 additions & 0 deletions philu_vagrant_ssh_fix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    If you cannot ssh into vagrant box and it requires a password everytime. use following commands:
    ```sh
    ssh-keygen -f ~/.vagrant.d/insecure_private_key
    ssh-copy-id -i ~/.vagrant.d/insecure_private_key -p 2222 [email protected]
    ```