Article 5C7KK [SOLVED] SSH Key pair setup and can connect only if i specify the key path in the connection string.

[SOLVED] SSH Key pair setup and can connect only if i specify the key path in the connection string.

by
Reprovo
from LinuxQuestions.org on (#5C7KK)
Hi.

I have an ssh key-pair setup and it works if i connect using the key-pair in the connection string.

this works without password:

Code:ssh -i "/root/.ssh/keys/rsyncSyslog-key" rmServer
this prompts for password:

Code:ssh rmServerfrom what i've read, it should connect without prompting for password. I'm not sure if i'm missing some step.latest?d=yIl2AUoC8zA latest?i=-F5T3oxZnu8:EDM7VsJX2w4:F7zBnMy latest?i=-F5T3oxZnu8:EDM7VsJX2w4:V_sGLiP latest?d=qj6IDK7rITs latest?i=-F5T3oxZnu8:EDM7VsJX2w4:gIN9vFw-F5T3oxZnu8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments