Last active
October 16, 2016 19:59
-
-
Save caiomoura1994/c421052d46345f91c9a7494654426040 to your computer and use it in GitHub Desktop.
arquivo para gerar senha ssh com apenas um comando
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y ssh xclip | |
ssh-keygen -f $HOME/.ssh/id_rsa -P "" | |
cat ~/.ssh/id_rsa.pub | xclip -sel clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For run this code open the command line ("ctrl"+"t" in Linux) and run;
wget -qO- https://gist.githubusercontent.com/caiomoura1994/c421052d46345f91c9a7494654426040/raw/ccbc18da1cd2cf74825ce92d984c1f6f00e605ce/ssh%2520copy%2520generate | sh
and next only use ("ctrl"+ "v") to paste your ssh-key