Home page logo
/

basics logo Security Basics mailing list archives

RE: How to configure restricted SSH ?
From: Justin Bowen <JBowen () trustwave com>
Date: Tue, 20 Aug 2013 13:55:25 +0000

You could always re-compile BASH with the specific commands you want them to use and then configure passwd to point to 
that bash  :)

Justin Bowen -SANS GCIH,  Sec+, Net+, HBSS
"Shades"

I have a PGP Email Capability for encrypted emails, ask me for if it you wish.

-----Original Message-----
From: listbounce () securityfocus com [mailto:listbounce () securityfocus com] On Behalf Of J B
Sent: Tuesday, August 20, 2013 6:11 AM
To: security-basics () securityfocus com
Subject: How to configure restricted SSH ?

Dear list,

I want to restrict the SSH users to their home directory only and with a predefined commands to be executed by them. A 
jailshell configuration might not be my exact requirement.
I like users to browse within his home and execute the command which I like to provide and exclude/include in future. 
Say gzip is available for now but bzip2 might be given in future and gzip will be excluded.  Is there any such setup 
through openssh ?

Thanks

------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate In this guide we examine the importance of Apache-SSL and 
who needs an SSL certificate.  We look at how SSL works, how it benefits your company and how your customers can tell 
if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your 
Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing 
management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------



________________________________

This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If 
you received this transmission in error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.


------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault