[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.


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.