Rebuild with Remote Access: ssh not working

#1

Hi,

I’m currently unable to log in w/ remote access via SSH - I’m getting a “Too many authentication failures” error. Is SSH access currently functioning (changed the port number to 00000)

🐍 v3.8.5 (remit) in ~/_work/wave/src/remit-ios on  main ❯ ssh -o StrictHostKeyChecking=no vagrant@1.tcp.ngrok.io -p 00000
Warning: Permanently added '[1.tcp.ngrok.io]:00000,[3.134.125.175]:00000' (ECDSA) to the list of known hosts.
Received disconnect from 3.134.125.175 port 00000:2: Too many authentication failures
Disconnected from 3.134.125.175 port 00000
0 Likes

#2

Figured it out right after posting. :man_facepalming:

For future readers - you might have an ssh agent set up trying to do private/public key auth that’s causing problems. You can force ssh to use password authentication by adding

-o PreferredAuthentications=password -o PubkeyAuthentication=no

to the ssh command, e.g.,

ssh -o StrictHostKeyChecking=no -o PreferredAuthentications=password -o PubkeyAuthentication=no vagrant@1.tcp.ngrok.io -p 00000

0 Likes