Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 12:30:47 -0700
From:      Sriranga Veeraraghavan <ranga@CSUA.Berkeley.EDU>
To:        freebsd-arch@FreeBSD.ORG
Subject:   Re: Request for review: nsswitch 
Message-ID:  <200009141930.MAA20323@soda.csua.Berkeley.edu>
In-Reply-To: Your message of "Thu, 14 Sep 2000 22:15:28 %2B0300." <20000914221528.B66058@netch.kiev.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help

> > One of the UNIX systems I've used over the years, probably SunOS,
> > allowed you to add the name of a host as a {sym,}link to rlogin;
> > the executable would check argv[0] and if it wasn't a recognized
> > pattern try it as a hostname.  The common usage was to add links
> > to your favorite hosts in /hosts/name and add that to your PATH.
> > 
> > My vote would be to add this feature to ssh.
> 
> I consider this feature as evil.

Hi,

I don't think it is a good idea to add such a feature (of dubious
benefit to most users) to a program like ssh.

If you really want something like this create a script like the
following in $HOME/bin:

#!/bin/sh
exec ssh `basename "$0"` $@

and symlink it to the hostnames you want. Then add $HOME/bin to PATH
and you have basically the same functionality.

----ranga




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




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