Problems with ssh solved, but mysterious
Alan Jackson
ajackson
Mon May 17 11:45:33 PDT 2004
On Wed, 12 Mar 2003 20:39:20 -0800
"Net Llama!" <netllama at linux-sxs.org> wrote:
> On 03/12/03 20:06, Alan Jackson wrote:
> > I'm trying to get ssh to work for me. There must be something simple
> > I'm missing in the config or something.
> >
> > I ssh to my son's machine and log in as myself.
> > Then I turn around and try to ssh from his machine back to mine. I have my
> > port set up as 13045 so I can ssh through my router to my machine :
> >
> > $ ssh -l ajackson -p 13045 -v earthman
> > It just doesn't like my password. I can't imagine why not.
>
> i've seen this happen on systems where openssl got horked, or pam
> support was messed up in the sshd binary. try starting sshd with the -d
> switch, which puts it into debug mode so that you'll get verbose
> messaging on the server side of what is going on.
>
Thank you!! PAM was complaining about authentication, so I looked at the /etc/shadow file
and to my surprise, my account had no password. I looked in /etc/passwd, same thing.
I have to use a password to log on, but I don't know where it is kept. I changed my
password to itself, that put it into /etc/shadow, and now it works. I'm running Col 3.1.1.
--
-----------------------------------------------------------------------
| Alan K. Jackson | To see a World in a Grain of Sand |
| alan at ajackson.org | And a Heaven in a Wild Flower, |
| www.ajackson.org | Hold Infinity in the palm of your hand |
| Houston, Texas | And Eternity in an hour. - Blake |
-----------------------------------------------------------------------
More information about the Linux-users
mailing list