Re: OpenSSH, Telnet, Windows Authentication and double-hops
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 11 Oct 2007 22:03:55 -0400
We're looking for a solution to create a secure single-signon
deployment on a Windows network. The chain of connections looks like
this:
Client: Telnets through SSH Tunnel to -->
Does this mean that you are setting SSH port forwarding (e.g. with ssh -L)
and using telnet through that (that's what "tunnel" usually means), or
that you are actually logging into Server1 via SSH? Sometimes people use
"telnet" as a generic word referring to any kind of remote login (which it
isn't). I'm assuming the latter, because otherwise your description
doesn't make sense to me.
Server1: that runs our application locally and connects to --->
Server2: that serves up the database using SQL Server
We're hitting an issue when we reach the SQL Server machine. Logging
in to SQL Server, the network has deprecated our logon down to 'NT
AUTHORITY\ANONYMOUS LOGON' . The database kicks us out.
We've learned that this is commonly refered to as the "double-hop"
issue and is well known with web development. There are mechanisms in
IIS to set up delegation and impersonation and caching etc, to get
past this.
We want to continue using public/private key authentication for the
SSH.
You will not be able to, at least not alone. SSH publickey authentication
does not provide the other side with either a Kerberos ticket, or your
password in order to acquire one. You need GSSAPI/Kerberos authentication
with ticket forwarding ("delegation").
We've tried the -A switch when starting up the SSH tunnel with
no avail.
This has to do with forwarding the OpenSSH key agent, which has nothing to
do with Kerberos tickets.
Is there anything that SSH can offer us so that we can maintain the
authentication ticket over the second hop?
You mean, maintain it over the first hop so it's available for the second.
You haven't said what SSH implementation you are using. Some provide
integration with Windows Kerberos (SSPI) and can do this for you,
e.g. Tectia from ssh.com and VShell from VanDyke. You *might* get it to
work with OpenSSH/Cygwin. I have compiled OpenSSH on Windows with
Kerberos support and had it work; however, the ccache is an MIT one and
has nothing to do with the Windows ccache. The MIT KfW system does
integrate with SSPI; however, I don't know if there's a way to hook
OpenSSH into it.
--
Richard Silverman
res@xxxxxxxx
.
- Follow-Ups:
- Re: OpenSSH, Telnet, Windows Authentication and double-hops
- From: jmartzoo-google@xxxxxxxxx
- Re: OpenSSH, Telnet, Windows Authentication and double-hops
- References:
- OpenSSH, Telnet, Windows Authentication and double-hops
- From: jmartzoo-google@xxxxxxxxx
- OpenSSH, Telnet, Windows Authentication and double-hops
- Prev by Date: OpenSSH, Telnet, Windows Authentication and double-hops
- Next by Date: Re: OpenSSH, Telnet, Windows Authentication and double-hops
- Previous by thread: OpenSSH, Telnet, Windows Authentication and double-hops
- Next by thread: Re: OpenSSH, Telnet, Windows Authentication and double-hops
- Index(es):
Relevant Pages
|
|