ssh passwordauthentication command-line line 0: missing argument code example

Example 1: command-line line 0: missing argument.

$ ssh -o PubkeyAuthentication localhost
command-line line 0: Missing yes/no argument.
$ ssh -o PubkeyAuthentication yes localhost
command-line line 0: Missing yes/no argument.
$ ssh -o PubkeyAuthentication no localhost
command-line line 0: Missing yes/no argument.
$ ssh -o PubkeyAuthentication=no localhost
# *now* it'll work
ssh's completions for "-o option" should include "=" as a suffix
ssh -i abc.pem -o StrictHostKeyChecking=no -tt [email protected]

Example 2: command-line line 0: missing argument

command-line line 0: missing argument.

Tags:

Misc Example