rssh - sftp-server and forbidden commands
Brought to you by:
xystrus
From: Monchanin E. <emo...@sk...> - 2004-01-06 18:20:23
|
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 I install rssh on a server and tried to configure a scp and sftp access for some users here is one of them: test2:x:506:100::/home/test2:/usr/bin/rssh my rssh.conf looks like that: **** logfacility = LOG_USER allowscp allowsftp user=test2:077:11:"/home/test" **** where /home/test is my chroot directory when I try to connect using sftp, I got a: Jan 6 11:37:12 galadriel sshd(pam_unix)[14340]: session opened for user test2 by (uid=506) 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 test2 I don't know what to do, so if you have any idea ... thanks a lot |