Created
May 18, 2018 21:12
-
-
Save sambos/c969ddc598c959f84d060842ff75645b to your computer and use it in GitHub Desktop.
copy ssh keys
This file contains 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
==> copy ssh keys between servers (edge <--> neo4j) | |
http://www.commandlinefu.com/commands/view/188/copy-your-ssh-public-key-to-a-server-from-a-machine-that-doesnt-have-ssh-copy-id | |
cat /home/user/id_neo4j_rsa.pub | ssh user@host.org 'cat >> ~/.ssh/authorized_keys' | |
cat /home/user/id_rsa.pub | ssh user@host.org 'cat >> ~/.ssh/authorized_keys' | |
==> generate keytab (if not available) | |
ktutil: addent -password -p user@host.org -k 1 -e rc4-hmac | |
Password for user@host.org: | |
ktutil: wkt /home/user/user.keytab | |
ktutil: quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment