Trying to connect to a server. I've received a private key to login to that server which I added to id_rsa. However the client keeps attempting to pass that as the public key instead of id_rsa.pub. Is this because id_rsa.pub isn't in my ssh_config file?
SERVER CONNECTION ATTEMPT
debug1: Offering RSA public key: /root/.ssh/id_rsa debug3: send_pubkey_test debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51
SSH CONFIG FILE (IDENTITY SECTION)
root@etoorlan4c:~/.ssh# cat /etc/ssh/ssh_config # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa
CONTENTS OF ~/.ssh/
root@etoorlan4c:~/.ssh# ls authorized_keys id_rsa id_rsa.pub known_hosts