Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Unusual error message after tar ops



On 7/24/2018 5:31 PM, Bill Horne wrote:
> I'm able to log in using ssh with key-based authentication, but then I'm 
> receiving a "password:" prompt. I enter what should be the password for 
> the new machine, but then I get this message:

Check that:

Private keys are owned by the user's default UID/GID with permissions no
more open than 600.

.ssh and $HOME are owned by the user's default UID/GID with permissions
no more open than 700.

All directories above $HOME are owned by the user's default UID/GID or
by root/root with permissions no more open than 755. This is new in
recent-ish versions of OpenSSH.

Any failure of the above causes sshd to reject key-based authentication.

> Password:
> newgrp: failed to crypt password with previous salt: Invalid argument
> Connection to (New machine name) closed.

I can think of a few possible causes but I think that the most likely is
that there is a GID mismatch for the account.

-- 
Rich P.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org