Forums

Disable Password Authentication for SSH - Key-Only Auth

I'd really rather not use password authentication and use a priv/pub key pair. Is it possible to disable password authentication for SSH?

Hi there,

I'm afraid you can't disable password authentication entirely. You can use keypairs though, just add your public key to ~/.ssh/authorized_keys on PythonAnywhere...

I'm not sure whether there's a password length limit, but if you set your password to a long string of properly random characters, you'll get the same effect as disabling password auth.