Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2001 17:35:43 +0000
From:      Jim Breton <jamesb-freebsd-security@alongtheway.com>
To:        security@FreeBSD.org
Subject:   Re: Apache Software Foundation Server compromised, resecured. (fwd)
Message-ID:  <20010602173543715890.4895@alongtheway.com>
In-Reply-To: <Pine.NEB.3.96L.1010602095828.46871a-100000@fledge.watson.org>; from rwatson@FreeBSD.org on Sat, Jun 02, 2001 at 10:06:30AM -0400
References:  <20010602155302.A56136@mail.webmonster.de> <Pine.NEB.3.96L.1010602095828.46871a-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 02, 2001 at 10:06:30AM -0400, Robert Watson wrote:
> For example, you can imagine enabling SSH
> agent forwarding when logging in as yourname@somehost, but disabling it
> when logging in as ftp@somehost.  Likewise, requiring different keys for
> yourname@host:8080, with different policy.

What about making several aliases in .ssh/config, e.g.:

Host yourname
	Hostname somehost
	User yourname
	Port 8080
	IdentityFile ~/.ssh/id_yourname
	ForwardAgent yes

Host ftp
	Hostname somehost
	User ftp
	Port 6666
	IdentityFile ~/.ssh/id_ftp
	ForwardAgent no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010602173543715890.4895>