Linux OpenSSH Encrypion method --- small Query

Status
Not open for further replies.

harmandeep

VirTuaLiZaTioN Freak
Contributor
In default scenario, our ssh client is provided rsa pubkey of our ssh server.
Is this rsa pubkey used Instantly by the client[when we are prompted whether we want to store ssh server host key or NOT] offering both Authentication and Data Encryption ?

Is authentication and further session data is encrypted by ssh client using this same pubkey(which it stores in ~/.ssh/known_hosts file) ?

So if i accept the ssh server rsa pub host key, and then i enter mine credentials to login, would these Creds. be Encrypted using that same pubkey OR indeed mine Credentials are involved in sort of encryption ?

And in above, i am not talking about ssh involving Keys/Passphares for mutual auth and encryption!
 
Status
Not open for further replies.