Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: Unique ssh/sftp requirement |
|---|---|
| Date: | Thu, 29 Jun 2006 14:24:11 -0700 |
You can do that with an out of band authentication : 1 - the user authenticate to the firewall 2 - if the authentication is successfull, the firewal allows ssh from this host to the external network.On 6/26/06, Odaniel, Jim (Mission Systems)<Jim.Odaniel@ngc.com> wrote:Hi, I have a unique ssh/sftp requirement. I have two networks separated by a firewall. I would like to allow anyone onmy "internal"network to ssh to my "external" network but I would liketo controlwho is allowed to sftp/scp files from my internal network to my external network. How can I do this? Is there a way todo this ifmy firewall doesn't support controlling such an activity? Will setting up some kind of internal proxy/port forwardingserver do the trick?The version that I am using is: OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004 HP-UX Secure Shell - A.04.00.000
I fail to see how using out-of-band authentication solves anything here. First off, the part about allowing access from the internal to external networks is easy, either with simple firewall rules, or host-based access controls such as TCP wrappers, ip filters, etc. Authentication doesn't really need to come into the picture at this level. Second, if the goal is to disallow file transfers from those hosts over SSH, authentication (out-of-band or otherwise) also does nothing to solve the problem. Once a user is auth'd to SSH, they'll still be able to transfer files over the SSH tunnel, no matter how they're authenticated. I think the previous answers were correct here: the closest you'd be able to get would be to use a restricted shell with no access to the scp commands, disable sftp, and hope you don't have a user smart enough to figure out there will still be ways to transfer files no matter how you try to lock it down.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Unique ssh/sftp requirement, Robert Hajime Lanning |
|---|---|
| Next by Date: | OpenSSH pubkey problem w/ Solaris 10, Erich Weiler |
| Previous by Thread: | Re: Unique ssh/sftp requirement, Robert Hajime Lanning |
| Next by Thread: | Re: Unique ssh/sftp requirement, Johan De Meersman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |