[ILUG] does scp need a shell?

Rob Gallagher robert at kerna.ie
Mon Apr 4 15:50:46 IST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've got a script periodically scp'ing squid log files off a proxy for
backup purposes. This is working fine but it would be better if the
account on the proxy server did not have a login shell since it does not
serve any other purpose - I tried setting it to a nonexistant shell or
true/false but scp just exits without copying anything.

So I'm thinking it requires some kind of login shell; would somthing
like rbash do the trick or could I lock it down even further with a
script that only allows the scp command to be executed?

rg
- --
Robert Gallagher, Kerna Communications,  | P (+353 1) 6647200
105 Lwr. Baggot St., Dublin 2, Ireland.  | E robert at kerna.ie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCUVRGiSgypR3ROngRAlBGAJwK5oRXHqS2dCNlI9pgRNVV4pu47wCgjQHA
P9vDxR4D17isoVXk6KMeMCc=
=kYpW
-----END PGP SIGNATURE-----



More information about the ILUG mailing list