Skip to content

Instantly share code, notes, and snippets.

@caiomoura1994
Last active October 16, 2016 19:59
Show Gist options
  • Save caiomoura1994/c421052d46345f91c9a7494654426040 to your computer and use it in GitHub Desktop.
Save caiomoura1994/c421052d46345f91c9a7494654426040 to your computer and use it in GitHub Desktop.
arquivo para gerar senha ssh com apenas um comando
apt-get install -y ssh xclip
ssh-keygen -f $HOME/.ssh/id_rsa -P ""
cat ~/.ssh/id_rsa.pub | xclip -sel clip
@caiomoura1994
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment