Why does 'ssh' and 'scp' work to one and not another?

joe at actionline.com joe at actionline.com
Thu Feb 11 15:02:37 MST 2010


.
I have tried every suggest I could so far, with no success.

== Brian Cluff wrote:
> Does your joe account on 73 have a restricted
> or non-shell in the /etc/passwd?

How would I determine the answer to that question?

== Eric Cope wrote:
> sounds like ssh isn't accessible on 73. Is that true?

I replied: I guess that must be true. How can I fix that?
'sshd_config' is identical on 73 and on 68 and ssh and scp
both work on 68 but neither work on 73.

The contents of sshd_config can be viewed at this link:
  http://www.upquick.com/linux/temp/sshd_config73

== craig white wrote:
> check the system logs (secure & messages) on '73'
> and you should find your answer.

I did examine those logs (17,000 lines in the last 4 days)
but I don't know what to look for.

> I suppose if you really wanted the answer to that
> question you would have checked the logs like I told you.

I've uploaded those two logs (secure & messages) here:
  http://www.upquick.com/linux/temp/secure73
  http://www.upquick.com/linux/temp/messages73

== kitepilot wrote:
> Go to a terminal on 192.168.0.73, login as "joe" and do:
> ssh localhost
> And tell me what happens.
> And, (as someone said) look at /var/logs/auth.log (or equivalent)
> on 192.168.0.73 and look for "joe":
> grep joe /var/logs/auth.log

When I try: ssh localhost on '73' this is the result:
joe at 192.168.0.73's password: (I entered the correct user password)
Permission denied, please try again.
joe at 192.168.0.73's password: (I entered the correct root password)
Permission denied, please try again.
joe at 192.168.0.73's password: (I tried just pressing "Enter")
Permission denied (publickey,password,keyboard-interactive).

I've uploaded /var/log/auth.log and the grep joe result here:
  http://www.upquick.com/linux/temp/auth.log73 -- (10,000 entries)
  http://www.upquick.com/linux/temp/auth.log73.joe -- (16 entries)

I also tried changing the user password on 73 and the system
responded that the several passwords that I tried to enter were
not acceptable (too short, not enough different characters, etc.)

When I do 'ssh localhost' on '68' it asks for a password and
accepts the same password that I have set on both '68' and '73'





More information about the PLUG-discuss mailing list