I installed openssh-server and created a key with ssh-keygen
. I then attempted to test it using local port forwarding by doing ssh -L 8080:www.nytimes.com:80 127.0.0.1
. However, the key fingerprint that this command provides is not the key fingerprint I get when I do ssh-keygen -l
. Even if I delete my .ssh directory, I still get the same fingerprint, which is not the one I created with ssh-keygen
. Is there another key on my system? Where is this key? How can I select this key for use by openssh-server?