You are not logged in.
As the subject implies, I am currently trying to connect to a server via SSH, but am receiving some errors when I try to connect. Both a keyfile and a password are required. I have moved the keyfile to ~/.ssh/.
Here is the message that is printed out:
http://pastebin.com/C4BpAU5g
Please let me know about any additional information I should provide.
Thanks a lot.
Offline
Looks like neither of public key and password is accepted by the server. Assuming you put the right keyfile in ~/.ssh/id_rsa and you used the right password, I think the server is rejecting your account (as opposed to your authorization tokens). Does your account exist on the server? Is allowed access in the sshd config file? Or if you're trying to log in as root, is PermitRootLogin enabled?
SSH is known for being difficult to debug client side. If you keep having trouble, could you post the server side log?
By the way, AFAIK it's not possible to do two factor authentication with SSH. If you permit authentication with passwords and keyfiles, anyone can login with either. Exclusively allowing public key logins (and guarding your private key well, protecting it with a strong password) is the strongest authentication scenario you're going to get.
Offline
Thanks for replying and sorry for the delay; I've only been reminded to try to SSH once a week, but I plan on checking and replying more frequently (every day).
What I was told is going on with the server is that the server uses the password to decrypt the keyfile. My account definitely exists on the server, and other people have been able to SSH in using the same username/password combination.
Unfortunately, I do not have access to the server's logs.
Offline