SSH Access

We whitelist IP addresses to our PBX and used to SSH into the instance, with a password. I know not the most secure but this is now not working. Putty giving an error of “No supported authentication methods available (server sent: publickey.gssapi-keyex.gssapi-with-mic)”.

As far as i’m aware, we haven’t setup authentication with keys.

Does anyone know of what my next steps need to be? i can see a public key in the backup & restore. Just not familiar on how to use it with Putty.

Either edit /etc/ssh/sshd_config to allow root login with a password (and restart sshd), or edit your Putty config for this server to specify the proper private key. If the key pair was generated with putty, it has a .ppk extension.

Alternatively, recent Windows versions have command line ssh, which works almost the same as on Linux / Mac; add an IdentityFile line to the entry for your PBX host in .ssh/config .

What version of FreePBX ?
We recently set up a ver 17, and it absolutely refused to allow me to log in using root. Even after changing the root password and tinkering with other things, it would just not cooperate. I had to set up a new user account to log into the system to grab sound files. The new user account worked on the first try.

/etc/ssh/sshd_config controls root access, password access, key access and port listened to. try over

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.