[ILUG] scp without shell access...

From: kevin lyda (kevin at domain ie.suberic.net)
Date: Mon 17 Jun 2002 - 17:29:50 IST


i think this question has come up before. is it possible to give a user
scp access without giving them shell access to a machine? i'm not sure
i've ever seen an answer on this. this web page has a perl script that
will set that up:

    http://www.snailbook.com/faq/restricted-scp.auto.html

the script could do more argument checking for the hyper-paranoid, but
it seems pretty secure. add it to /etc/shells and set the user's shell
to it and that should be your question answered.

kevin

-- 
kevin at domain suberic.net     that a believer is happier than a skeptic is no more to
fork()'ed on 37058400   the point than the fact that a drunken man is happier
meatspace place: inle      than a sober one. the happiness of credulity is a
http://suberic.net/~kevin    cheap & dangerous quality -- g.b. shaw


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:18 GMT