On Sat, Apr 9, 2022, at 8:14 PM, Ayoub Misherghi wrote: > Below I show two ways I ssh logged into a machine. > In the first method I referred to the remote machine > as 192.168.0.212 while in the second method I referred to the > remote machine as [1]testuser5@192.168.0.212 specifying the user. > In the first method it logged me in as user ayoub when the > .ssh directory of ayoub does not have the file for the key > specified with the -i parameter option. With the second method > it logged me in as the testuser5 user; as expected. > Some information about the bash version and the Linux version > is right at the bottom.
What makes you think bash has anything to do with any of this? Your shell is not involved with authentication. -- vq