[scponly] scp blues (read this first for this thread)

Daniel Webb lists at danielwebb.us
Thu Feb 23 02:33:50 EST 2006


<blush>

Permissions problem.  My umask changed somewhere along the line.
/etc/passwd in the chroot dir didn't have world-readable.

It would be nice if scp had just *said* that (like "permission denied reading
/etc/passwd") instead of "unknown user"...

Anyhow, if you are a reader finding this post through a search engine, here
are the most common reasons for "unknown user" with scp:

1. Missing, invalid, or permission denied /etc/passwd
2. Missing /lib/libnss<something>
3. Missing /etc/nsswitch.conf (doesn't apply in most cases)

Also, make sure you find all libraries you need by using ldd on every binary
in your chroot.




More information about the scponly mailing list