Problem setting up rssh
Brought to you by:
xystrus
From: Frederik K. <rs...@fk...> - 2011-09-16 10:17:33
|
Hi, I am having problems setting up rssh. I have created a chroot Environment for the user, containing all the commands and libraries needed as described in the 'CHROOT' file. However there seems to be a problem in identifying the 'sftp-server' command as allowed. <begin /etc/rssh.conf> logfacility = LOG_USER umask = 022 user=BSG-1668:022:00011:/chroot/BSG-1668 <end /etc/rssh.conf> This is what I get in syslog when trying to connect using sftp with this user: <begin /var/log/messeges snippet> Sep 14 15:40:49 iGor rssh[953]: setting log facility to LOG_USER Sep 14 15:40:49 iGor rssh[953]: setting umask to 022 Sep 14 15:40:49 iGor rssh[953]: user bsg-1668 attempted to execute forbidden commands Sep 14 15:40:49 iGor rssh[953]: command: /usr/libexec/openssh/sftp-server <end /var/log/messages snippet> Any ideas as to why this command is 'forbidden' would be appreciated. Here some extra information: It is a Gentoo Linux Server. Kernel v2.6.34-xen (64bit) rssh v2.3.3 openssh v5.6_p1-r2 Every bit of software was compiled on the machine itself. Kind regards Frederik Klama |