I was using my Mac's terminal for a ssh connection to a server from a hosting service provider. Sometime right after I finished the session and closed the terminal, my Mac stopped responding and showing the beach ball. After waiting for 2-3 minutes, I decided to unplug the network cable. I noticed that my Mac behaved differently and still not responding to mouse or keyboard. Another 2-4 minutes, I decided to force a shutdown by holding down the power switch until it is off.
After that my Mac would not boot up and indicated there is no disk. If I went into the discovery mode, it only shows the recovery partition. All other partitions were gone.
Could my Mac being hacked and partitions were deleted? I remembered when my first time setting up ssh connection with this hosting provider, I did get a warning something about the encryption version .99 needed to be updated, etc. But I have not done so.
Can a ssh client be hacked when using a ssh connection?