Module - Getting Started - Privilege Escalation - Second question

@NewHax said:

Hello everyone. I am still struggling a bit with this. At this point it feels like I am missing something obvious. I am able to grab the .ssh key ( I am just copy and pasting it from the target machine and into a new document on the client machine ). Once I have that I try to SSH into the same target using

ssh user@server -i /path/to/mykey

but I am unable to get in. It always asks for a password. Ive tried user user1 user2 and root as the username but no luck. Any tips are appreciated.

Before it asks for a password does it say the permissions are incorrect?

1 Like