[scponly] V 4.0 allows ssh ??

Terry Gliedt tpg at umich.edu
Thu Dec 16 16:02:21 EST 2004


On node 's', I fetched the latest code, compiled like this:

   make clean
   rm -f config.cache
   ./configure --disable-sftp --disable-winscp-compat \
         --disable-gftp-compat --enable-rsync-compat
   make
   make install

Added /usr/local/bin/scponly to /etc/shells. Added this user:

   usera:x:505:100:Example user:/home/usera:/usr/local/bin/scponly

I tried various scp commands to 'usera at s' which behaved as expected. On 
another machine I did

   ssh usera at s ls -la

and got back the results of 'ls'.  I was pretty surprised. What have I 
missed?

-- 
=============================================================
Terry Gliedt     tpg at umich.edu       http://www.hps.com/~tpg/
Biostatistics, Univ of Michigan  Personal Email:  tpg at hps.com



More information about the scponly mailing list