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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Subject: Re: Why does 'ssh' and 'scp' work to one and not another?
>> How would I determine the answer to that question?
Look at /etc/passwd

Do:
grep joe /etc/passwd
and post the line(s)

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

Do:
find /var/log -type f -exec grep -H joe "{}" \;
And post the output.


Look at line:
Feb 10 18:18:16 localhost su: pam_unix(su:auth): authentication failure;
logname= uid=500 euid=0 tty=pts/1 ruser=joe rhost= user=root

Now, from a console in 73, logged in as joe do:
ssh -v localhost
And post the reply.

Then from the other machine do:
ssh -v <73>
And post that too.
ET


ET

writes:

> .
> 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@192.168.0.73's password: (I entered the correct user password)
> Permission denied, please try again.
> joe@192.168.0.73's password: (I entered the correct root password)
> Permission denied, please try again.
> joe@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'
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss