Assume I have set up public/private key authentication in ssh.
Is it correct that the ssh server possesses the public key but not the private key, while the ssh client possesses both the public and private keys?
How are public and private keys used in communications via ssh protocol?
When I on ssh client side initiate a communication by running a command to connect to the ssh server via ssh protocol, is this initial message from me to the server encrypted with the public key or private key?
When the ssh server receives this initial message, does it use the public key to decrypt the initial message, which sounds very odd because everyone can have the public key and thus can decrypt the initial message?
If the command that I sent to connect to the server is to scp some file from the server to my local host, when the ssh server sends out the requested file to me, is the public key used to encrypt the file?
When ssh client receives the encrypted file, is the private key used to decrypt the file?
Are public and private keys used only during authentication, not after authentication finishes?
If that's correct, is some type of encryption on messages to be sent and decryption on messages received used for the communication between ssh server and client, after authentication?