Hi, I have a machine with freshly installed AWS linux 2. I installed the package rssh
When I create a new user using rssh as its login shell, it allows me to connect using sftp, but not send files using scp, even when I have both allowscp allowsftp enabled in /etc/rssh.conf I get the message "This service allows sftp connections only." The strange thing is that if I disable allowsftp I'm still been allowed to use sftp Is there a way to enhance the logging details to see from where does rssh pick up the configuration? I only have one rssh and one rssh.conf on my system Any help will be welcomed Cheers JD PS: I'm not using chroot at all PSII: I can use scp on a normal account, sshd is not disabling it or anything $ cat /etc/rssh.conf > # This is the default rssh config file > > # set the log facility. "LOG_USER" and "user" are equivalent. > logfacility = LOG_USER > > # Leave these all commented out to make the default action for rssh to lock > # users out completely... > > allowscp > allowsftp > #allowcvs > #allowrdist > #allowrsync > # set the default umask > umask = 022 > > # If you want to chroot users, use this to set the directory where the > root of > # the chroot jail will be located. > # > # if you DO NOT want to chroot users, LEAVE THIS COMMENTED OUT. > # chrootpath = /usr/local/chroot > > # You can quote anywhere, but quotes not required unless the path contains > a > # space... as in this example. > #chrootpath = "/usr/local/my chroot" > $ rssh -v > > rssh 2.3.4 > Copyright 2002-2010 Derek D. Martin <rssh-discuss at lists dot sourceforge > dot net> > > rssh config file = /etc/rssh.conf > chroot helper path = /usr/libexec/rssh_chroot_helper > scp binary path = /usr/bin/scp > sftp server binary = /usr/libexec/openssh/sftp-server > cvs binary path = /usr/bin/cvs > rdist binary path = /usr/bin/rdist > rsync binary path = /usr/bin/rsync >
_______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss