Sequel Pro is one of the most popular database tools for the Mac. With the release of MacOS Sierra, I had a few issues connecting to my saved databases that used the SSH tunnel method of connecting. The error I kept getting was:

debug1: Offering RSA public key: /Users/username/.ssh/id_rsa.pub
debug1: Server accepts key: pkalg ssh-rsa blen 535
debug1: read_passphrase: can't open /dev/tty: Device not configured
debug1: permanently_drop_suid: 501

The fix involved two steps. The first is to be sure your id_rsa file has the proper permissions.

chmod 600 id_rsa

Then, in your Sequel Pro connection change the key file from id_rsa.pub to the none pub version, id_rsa.

5 thoughts on “ Fixing the SSH tunnel with Sequel Pro on MacOS Sierra ”

  1. This isn’t resolving my error. Still getting the “debug1: read_passphrase: can’t open /dev/tty: Device not configured” Any suggestions?

    Like

    1. Good question. I think at the time the error was in a popup window from sequel pro itself. Since this post was written I’ve now been using Table Plus so I’m not familiar with the setup.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s