Re: rssh - sftp-server and forbidden commands
Brought to you by:
xystrus
From: Derek M. <co...@pi...> - 2004-03-30 01:02:49
|
On Tue, Jan 06, 2004 at 07:21:18PM +0000, Monchanin Eric wrote: > Hi there, I browsed a little on the web, and on the archives of this > mailing list ... but couldn't find my answer, so here is my problem [SNIP] > when I try to connect using sftp, I got a: >=20 > Jan 6 11:37:12 galadriel sshd(pam_unix)[14340]: session opened for user > test2 by (uid=3D506) > Jan 6 11:37:12 galadriel rssh[14341]: setting log facility to LOG_USER > Jan 6 11:37:12 galadriel rssh[14341]: allowing scp to all users > Jan 6 11:37:12 galadriel rssh[14341]: allowing sftp to all users > Jan 6 11:37:12 galadriel rssh[14341]: line 34: configuring user test2 > Jan 6 11:37:12 galadriel rssh[14341]: setting test2's umask to 077 > Jan 6 11:37:12 galadriel rssh[14341]: allowing scp to user test2 > Jan 6 11:37:12 galadriel rssh[14341]: allowing sftp to user test2 > Jan 6 11:37:12 galadriel rssh[14341]: user test2 attempted to execute > forbidden commands > Jan 6 11:37:12 skycore1 rssh[14341]: command: > /usr/libexec/openssh/sftp-server > Jan 6 11:37:13 skycore1 sshd(pam_unix)[14340]: session closed for user t= est2 >=20 > I don't know what to do, so if you have any idea ... Well the only thing that comes to mind is that rssh thinks /usr/libexec/openssh/sftp-server is a forbidden command, so when you ran configure, you may have configured the sftp-server binary to be in a different location. Possibly, you have two versions of SSH installed, and the configure script picked up the sftp-server binary =66rom the wrong one. Other than that, maybe you could send the output =66rom ./configure to help diagnose the problem. That is, if this still is a problem... Sorry about the long response time. --=20 Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D |