When you pass PubkeyAuthentication
it enables or disables the general SSH public key authentication for that use and on that host. As explained on the documentation for ssh_config
options states:
Specifies whether to try public key authentication. The argument to this keyword must be yes (the default) or no.
But in the command you provide, it seems that false
is set:
ssh -X -o PubkeyAuthentication=false notadmin@<DedicatedHost>
Which might work, but am unsure. Would assume it should be no
instead. But in your question you ask:
This is in a test procedure for to test Access Control and I am trying to understand what the is doing to by pass the PubkeyAuthentication.
Most likely if this is in a test procedure—and someone developed those tests—then they wanted to force the SSH connection to not used SSH keys for authentication but rather use some other method; most likely a plain old password being typed in.
As for why that would be desired? Who knows. Without the context of the larger test context, nobody here can say. But I said what I said and based on what I know that line should not work since false
is a literally false option.
ssh
command? If the explanation of the optionPubkeyAuthentication
was not clear for you, can you edit your question to indicate what exactly was not clear?