Hey,

I've been having similar problems.


> with scp, it says: unknown user 6653
> 
> I have the /etc/passwd, /etc/group in the jail.
AFAIK having passwd should work to resolve the user id. Are you sure that a
user with that id is in the passed file? Is it readable by all users?

In my situation I was importing users through nss_winbind, which is
non-trivial to import into the jail (no simple passwd file). I created a patch
for scp, which prevents scp from looking up the user, it really doesn't use it
anyway. So far, the patch doesn't seem to have been considered for inclusion
(though it's quite trivial).

Anyway, the patch is here: http://bugzilla.mindrot.org/show_bug.cgi?id=1235

It is weird that sftp-server breaks for you, for it works fine for me (without
any passwd file or nss lookup in the jail). Might be that I'm running FreeBSD,
but AFAIK that's openssh as well.

Gr.

Matthijs

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to