| Author |
Message |
tyrrvk
Joined: 12 Jul 2011
Posts: 4
|
| Posted: Tue Jul 12, 2011 1:14 pm Post subject: can't ssh in |
|
|
Hi -
I've got my new linode setup - but I cannot ssh in from my home workstation.
I can ping the IP.
IPTables isn't running (yet)
sshd is up and running.
I can use the ajax ssh web client just fine.
Anytime I try ssh'ing in though, I get this error message:
debug1: No more authentication methods to try.
Permission denied (publickey).
why isn't it letting me use password auth?
I have PasswordAuthentication = yes in my sshd_config
in fact, I can ssh -vv root@localhost just fine using the ajax console - and it say's "
debug1: Authentications that can continue: publickey,password "
So why localhost let's me do password, remote doesn't?
Thanks.
Tyrrvk |
|
| Back to top |
|
obs
Joined: 07 Mar 2010
Posts: 1403
Location: Earth
|
| Posted: Tue Jul 12, 2011 1:31 pm Post subject: |
|
|
Do you have password authentication disabled on your workstation?
Usually check ~/.ssh/config or /etc/ssh_config |
|
| Back to top |
|
tyrrvk
Joined: 12 Jul 2011
Posts: 4
|
| Posted: Tue Jul 12, 2011 2:21 pm Post subject: |
|
|
obs wrote: Do you have password authentication disabled on your workstation?
Usually check ~/.ssh/config or /etc/ssh_config
Doesn't look like it.
what's really weird - is I couldn't log in with iTerm2.
So I tried the default mac shell program "terminal"
and it worked - I could ssh in.
Closed out - and tried logging in again, and now I am not able to? |
|
| Back to top |
|
obs
Joined: 07 Mar 2010
Posts: 1403
Location: Earth
|
| Posted: Tue Jul 12, 2011 3:52 pm Post subject: |
|
|
| Maybe you have a lot of ssh keys stored, in terminal run ssh-add -l if it prints a bunch of entries then your machine will be trying every one until the server rejects it for too many attempts. |
|
| Back to top |
|
| |