SFTP setup on Transmit (Mac)

December 3, 2013 29.2k views
I have an existing ssh key which I'm trying to use with the Transmit client, which works similarly on other servers. I have checked various articles including the Filezilla example but I'm getting rejected at attempted login. Please confirm I have the settings wright Protocol: SFTP Host: (DNS ip address - also tried host.iq4news.com) user: root PW: None SSH Key: ~/.ssh/id_rsa Port: 22 So what am I doing wrong please?
9 Answers

I found out today that Transmit (still) has difficulty dealing with password-encrypted keys.

In this case you need to add the key you created to your computer's keychain using ssh-add -K path/to/.ssh/key-name .

You then set up your SFTP connection in Transmit with the IP/URL and your user name, but do not specify a password or choose a key file. Save. Connect.

When you created your droplet, did you not change the SSH Port? See Initial Server Setup with Ubuntu 12.04.

On your droplet, execute:
cat ~/.ssh/authorized_keys

Does it show your Public SSH Key (no need to show us; just yes or no)?

Paste the output of:
ls -la ~/.ssh

on Pastie and provide us w/the link.
by Etel Sverdlov
This tutorial covers how to login with root, how to change the root password, how to create a new user, how to give the new user root privileges, how to change the port, and how to disable root login in. This tutorial is written for Ubuntu. When you first create your server, this tutorial explains the first steps you need to take. This tutorial is written for Ubuntu 12.04.
If you followed the Ubuntu setup tutorial, you may have turned off root login. You'll need to create another user on your server, install your SSH key for that user, then try again.
Oh yeah, that, too! Good catch Clifton.
Were you able to add your private key to Transmit? I got a "file not accepted" error and still stuck. :-)

Sorry it was "file format not supported" error.
How did you generate your SSH key?
Hello, I also have a problem with using my private key with Transmit. I get an error "Could not import SSH key file. The file is not in a supported format."

For creating my key I used ssh-keygen command and havent done anything special with it (I typed a password, saved it to ~/.ssh/key_name).
Have another answer? Share your knowledge.