OpenSSL seems to bundle the private key together with the public key when it produces .pem files. Is there a way to prevent this from happening; i.e. prevent OpenSSL from creating a .pem private key with the public key in it? According to Wikipedia RSA's public key is not directly derivable from the private key.
The specific usage scenario is: I'm creating a little service where everybody can ssh tunnel to a server to anti-block. To facilitate this (and make it automagic) I distribute a SSH private key with my program that it uses to then log into one of the servers. We don't need to authenticate our users - anybody can use the private key to log in and the user has no permissions other than open up a tunnel - but we do need to prevent against MITMs. known_hosts is not good since our servers are on dynamic IPs that are distributed with something that isn't DNS. So, the thing we want to keep secret is our "authorized_keys" file which contains the public key for login. But any attacker can just use PuTTYgen to generate the public key from the private key and set up a MITM server that the user can successfully authenticate to...
e
is small and thus trivial to guess