ssh_keys_issue
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ssh_keys_issue [2016/08/03 21:09] – walkeradmin | ssh_keys_issue [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SSH Keys Issue ====== | ====== SSH Keys Issue ====== | ||
+ | <color darkorange> | ||
+ | \\ | ||
\\ | \\ | ||
\\ | \\ | ||
Line 7: | Line 9: | ||
ECDSA key fingerprint is 65: | ECDSA key fingerprint is 65: | ||
\\ | \\ | ||
- | Just SSH to the machine from the command line and your key will be added to the target host. | + | \\ You need to add your key to the remote device to be trusted, then you won't get asked for password on each connection (a real pain when using scripts). |
- | | + | \\ |
+ | \\ | ||
+ | ===== This Worked for Us in the End ===== | ||
+ | \\ | ||
+ | \\ | ||
+ | From the command line:\\ | ||
+ | \\ | ||
+ | ssh-keygen | ||
+ | |||
+ | Press enter for every prompt | ||
+ | |||
+ | This will place your local key in the remote server | ||
+ | \\ | ||
+ | \\ | ||
+ | Then run this: | ||
+ | \\ | ||
+ | ssh-copy-id -i ~/.ssh/ | ||
+ | | ||
+ | Enter the remote server password | ||
+ | \\ | ||
+ | Now you should be able to ssh to the server without a password | ||
\\ | \\ | ||
+ | ssh ipaddress | ||
\\ | \\ | ||
- | Warning: Permanently added ' | ||
\\ | \\ |
ssh_keys_issue.1470254973.txt.gz · Last modified: 2023/03/09 22:35 (external edit)