WebFaction
Community site: login faq

I'm running Ubuntu 13.10 and I've followed the directions on the Using SSH keys doc here: https://docs.webfaction.com/user-guide/access.html

I'm still being prompted for a password. I've assured both keys exist in the places they need to be on both machines.

asked 26 Nov '13, 15:50

HittingSmoke
4822230
accept rate: 8%

Try adding -v to your ssh command to see if that gets you more details. Are you specifying your key on the commandline or using an agent?

(26 Nov '13, 16:37) bmeyer71 ♦♦

Key was added to authorized_keys on the server end and id_rsa on the client end via the official WF guides. Not specifying anything specific on the command line, though I am using ssh via the command line. No alternate GUI packages.

Here is the output of ssh -v:

$ ssh -v username@username.webfactional.com
OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to username.webfactional.com [108.59.9.164] port 22.
debug1: Connection established.
debug1: identity file /home/localuser/.ssh/id_rsa type -1
debug1: identity file /home/localuser/.ssh/id_rsa-cert type -1
debug1: identity file /home/localuser/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: identity file /home/localuser/.ssh/id_dsa-cert type -1
debug1: identity file /home/localuser/.ssh/id_ecdsa type -1
debug1: identity file /home/localuser/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA d1:f4:1a:5a:d7:61:ab:b9:62:47:0f:a1:72:4c:5a:d2
debug1: Host 'username.webfactional.com' is known and matches the RSA host key.
debug1: Found key in /home/localuser/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering DSA public key: /home/localuser/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/localuser/.ssh/id_rsa
debug1: Trying private key: /home/localuser/.ssh/id_ecdsa
debug1: Next authentication method: password
(26 Nov '13, 16:46) HittingSmoke

Your key in authorized_keys doesn't look right. Maybe open a ticket for us to discuss further.

(26 Nov '13, 16:54) bmeyer71 ♦♦

I think I accidentally uploaded my private key the first time. I tried again with the public key and it's still not working. I submitted a ticket with updated output from ssh.

(26 Nov '13, 17:30) HittingSmoke
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×103
×40
×2

question asked: 26 Nov '13, 15:50

question was seen: 3,256 times

last updated: 26 Nov '13, 17:30

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM