Cyrus Bharda wrote:
>
> Damien,
>
> But still that means that only the root account can do this
> as all other accounts get that message that was posted by Mark.
>
> I hope there is a way of creating a user account logon that
> has no rights to do anything but logon, so that the port
> tunneling can work using PuTTY.
>
> If not then I will be looking at port opening and forward, an
> undesireable position to open up my connection to allow all
> Windows Terminal Service clients to be able to connect to the
> server

Just background the command and don't request a terminal.
In unix the flags to pass to ssh are -N -f
-N Do not execute a remote command. This is useful for just forwarding ports (protocol version 2 only).
-f Requests ssh to go to background just before command execution. This is useful if ssh is going to ask for passwords or passphrases, but the user wants it in the background. This implies -n. The recommended way to start X11 programs at a remote site is with something like ssh -f host xterm.
On windows you can use the version from ssh.com's site which has similar functionality.
A little reading of the putty/plink manual and/or other ssh clients for windows should lead you to one that does exactly what you need, else why not just give them a valid shell, or chrooted shell if your paranoid.
Btw as soon as that message is displayed tunnels are active, just leave it open...
--
Damien