I recently needed to connect to my Plesk server, via SSH, using my Root credentials. My choice of software being PuTTy.
To achieve this, I had to perform the following commands, due to having previously disabled Root access via SSH:
The issue I then had was that I entered an incorrect root password. This then took me to the next line, where I entered the password again but it appeared on the screen in plain text as follows:
With the above in mind, I am wondering if the above Root password would had been sent over the network as plain text and thus become visible to attackers or would the password not be visible, due to the data transfer being encrypted, as I was already logged in as another user?
To achieve this, I had to perform the following commands, due to having previously disabled Root access via SSH:
Code:
login as: [Another user on the Plesk server]
password: [user's password - hidden]
$ su - root
password - [root password - hidden]
The issue I then had was that I entered an incorrect root password. This then took me to the next line, where I entered the password again but it appeared on the screen in plain text as follows:
Code:
su: Authentication failure
$ [root password displayed]
-sh: 2: [partial display of root password]: not found
With the above in mind, I am wondering if the above Root password would had been sent over the network as plain text and thus become visible to attackers or would the password not be visible, due to the data transfer being encrypted, as I was already logged in as another user?