I created a key pair with Puttygen, I putted its public key under /home/tiesto/.ssh/authorized_keys, I loaded its private key with Pageant, and logged in successfully with Putty via port 22. The private key has a passphrase.
When I try to use the very same key pair from within the Putty session (to start a tunnel on port 80 as well) I am being asked for the passphrase; I can fill the exact correct passphrase 3 times and in the third time I'm being told:
Permission denied: Public key.
The command I use to login seems basically like this:
sudo ssh firstname.lastname@example.org -L 80:localhost:80 -i /home/tiesto/.ssh/tiesto_pri @ arbpid=$!
arbpid=$! is a variable I added to mark the specific process, please just ignore it).
The same public key I use to start the Putty session is also under
The same private key I use to start the Putty session is under
I double checked everything and don't know why it doesn't work.
You might have an idea what went wrong and why the very same key pair that works just fine for Putty, won't work inside the Putty session with OpenSSH for tunneling port80.