Unable to do SSH to server

Advertisement

soma
Joined:
Posts:
1

Unable to do SSH to server

Hello Team,

We want to automate our script to get CPS in log files. How can we achieve this? I'm able to upload a file using password but unable to do ssh. I have created private and public key but getting access denied.
ssh-copy-id -i ~/.ssh/id_rsa.pub username@IP
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/c/Users/a-a340152/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
usernamer@IP's password:
Permission denied, please try again.

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum