[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting ssh port forwarding from inetd



i see 1 rproblem there there is no POP3 server on the pop3 line so there
is no way to read mail without the actual pop client.  if your that
paranoid go with something like IPSEC, or use a POP server that supports
APOP(obsolete?) or SSL. as for SMTP ..well use IPSEC. i hope your not
planning on encrypting your SMTP port and expect incoming mail to work
right. if its all internal thats fine though ..although i've
(personally) never herad of anyone trying or even wanting to do what your
doing.

nate

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
11:52am up 75 days, 23:19, 1 user, load average: 0.34, 0.28, 0.28

On Wed, 3 Nov 1999, Bernhard Rieder wrote:

> Hi,
> 
> I'd like to secure my pop3 ans smtp ports with ssh,
> but I'm not sure hoe to set it up.
> Is there a way to start it from inetd?
> 
> I tried the line
> 
> pop3    stream  tcp     nowait  root    /usr/bin/ssh \
> /usr/bin/ssh -C -v usr@host -L 110:host:110 sleep 10
> 
> Why do I have to use /usr/bin/ssh two times?
> If I don't ssh gets an error and writes: host -C not found
> 
> but how expected it doesn't work since inetd keeps listening
> on port 110 and bind fails in ssh.
> If inetd got a connection how does it forward this connection
> to the server it calls? Does it use stdout/stdin?
> I didn't find any information in the manpages and I would
> not like to search it in the source.
> 
> I understand the problem but don't know the solution:
> inetd listend on port 110
> inetd gets a connection
> inetd starts ssh
> And now there's the question:
>   How does inetd forward the connection to ssh?
> 
> 
> Bernhard
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: