Question: I am trying to run a ssh command to bypass password authentication automatically in circleci but I keep running into two errors. 1. command-line line

I am trying to run a ssh command to bypass password authentication automatically in circleci but I keep running into two errors.

1. command-line line 0: garbage at end of line; "PasswordAuthentication".

2. ECDSA key fingerprint Are you sure you want to continue connecting (yes/no)?

this is my command:

ssh -o "StrictHostKeyChecking=No PasswordAuthentication=No" and then I put my user@host after that with "pwd" next to it. 

Am I doing something wrong in the command?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!