Use SSH to log in once, and then log in through sshpass
ssh -p 22 -o StrictHostKeyChecking=no [email protected]
Note: you’d better check whether there is a SSH password free login configuration first. If there is, clear it
Use SSH to log in once, and then log in through sshpass
ssh -p 22 -o StrictHostKeyChecking=no [email protected]
Note: you’d better check whether there is a SSH password free login configuration first. If there is, clear it