Skip to content

Instantly share code, notes, and snippets.

@koromerzhin
Created November 7, 2018 14:09
Show Gist options
  • Save koromerzhin/771a8a5713d46d4619b07f5f3fb4889f to your computer and use it in GitHub Desktop.
Save koromerzhin/771a8a5713d46d4619b07f5f3fb4889f to your computer and use it in GitHub Desktop.
ssh-keygen -t rsa -b 2048
chgrp Système ~/ -Rf
chmod -Rf 700 ~/.ssh
ssh-copy-id -i ~/.ssh/id_rsa.pub app@10.35.4.39 -p 22222
ssh -p 22222 app@10.35.4.39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment