Now I have an SSH problem...

I'm afraid this is completely frustrating me... Last night I was happily accessing my RPi from my laptop via ssh, but today I'm getting "Permission denied, please try again." to my password, and I haven't the faintest idea why! The same (never changed) password is fine on a local console, but not over ssh.

The only thing that happened meanwhile is that this morning I thought I'd try once more to see if I could get anything useful out of the OpenELEC I also installed [I couldn't...]. While that was running, I tried to ssh in to it, but of course the host key was different, so I didn't go any further. However, when I rebooted to Raspbian, the key had apparently changed there too [?], so I deleted the key from known_hosts and started over. The key seemed to be set properly, and it connects to the Pi, but the password isn't going through.

I can't find any file that has changed in the relevant interval, except maybe the contents of /var/cache/debconf, but I don't know whether that is relevant or not. I changed it anyway when I went into raspi-config to reset my keyboard (for other reasons).

Help...! (:-/)

-- Pete --

Reply to
Pete
Loading thread data ...

Please ignore my original message! I was completely missing the reality, which I think I'm too ashamed to explain... (:-/) (I sent a 'Cancel' -- which I'm not sure I've ever tried before -- but I don't think that works these days. The post never disappeared from my server anyway.)

-- Pete --

Reply to
Pete

Don't worry, we've all been there :-)

Reply to
Bob Martin

Am 15.01.2014 07:55 schrieb Pete:

... and WHAT was the problem anyway???

Reply to
Helmut Harnisch

My bet is CAPSLOCK ;)

Reply to
chris

It was a *little* subtler than that. (:-/)

If I have to explain, I guess a day later I can face it...

You see, everything on my LAN has always been static-IP, except for my laptop, which is DHCP on a second-level router. I'd run out of space on the main router, though, so I connected the Pi to the DHCP one, too -- *carefully* reminding myself that I would have to be sure to power on the laptop first, so the IPs would be picked the same.

A week or so later, having automatically always followed that sequence, of course when I tried OpenELEC, I didn't! And my own caution never entered my head because I was focussing on the switch in OSs. So when I ssh'ed from my laptop to the usual IP, it was actually talking to itself!!

I like to believe that I can think out of the box, but sometimes when I'm trying to problem-solve I don't seem to be able to find the exit from a pretty tiny one!

[I'm just about to fix up that router and reserve some addresses!]

-- Pete --

Reply to
Pete

I like to focus on the moment of reaization... ;-)

--
-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon
Reply to
Michael J. Mahon

Ah, yes, the "Ohh...crap..." moment.

-- Pete --

Reply to
Pete

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.