Date: Wed, 14 May 2003 18:49:31 -0600 From: BSD <bsd@xtremedev.com> To: questions@freebsd.org Subject: Forwarding ssh to an internal sshd server? Message-ID: <20030515004931.GB3101@Amber.XtremeDev.com>
next in thread | raw e-mail | index | archive | help
I'm trying to setup a forwarding from one sshd server to another sshd server. [internet] -- [gateway sshd] -- [internal sshd] The gateway sshd should still accept users, so I can't just use a port bouncer, and I only want certain (a subset of) users to be forwarded to the internal ssh. At first I used a public key exchange and a a simple script and set the user's shell to it: #/bin/sh /usr/bin/ssh -l $LOGNAME internalmachine.fqdn This appeared to work (albeit a slow login), but then someone told me that sftp/scp (and espcially cvs -d :ext:) doesn't work with this setup. Does anyone have a better suggestion for forwarding specific users to another sshd from the gateway sshd? Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515004931.GB3101>