> > I'm not shure but sshd probly has that kind of feature
> That would be good.. any info?

LAMMER SOLUTION:

well I really don't know if you can redirect ssh to the internal vservers,
but, for sure you can create something like this:
- the user fserto is the root owner of the www vserver
- on the root server, I created a shell like this (maybe /bin/fserto_shell):
    #!/bin/bash
    /usr/bin/ssh 192.168.1.123 -lroot
- change fserto's shell on /etc/passwd to /bin/fserto_shell on the root
server

when the user connects to the root vserver using his username he would run
the ssh to the internal box:
[EMAIL PROTECTED]:~# ssh skywalker -lfserto
[EMAIL PROTECTED]'s password:
Last login: Sat Aug  2 18:57:16 2003 from skywalker.serto.local
Linux 2.4.20ctx-17.
[EMAIL PROTECTED]'s password:
Linux 2.4.20ctx-17.
[EMAIL PROTECTED]:~#

stupid?? I know you should not use this for a commercial environment,
but.... for a city council for example...

question: is there any security problems with this "first thing that poped
into my head" solution??

Reply via email to