From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1065 invoked from network); 31 Jul 1998 01:57:16 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 31 Jul 1998 01:57:16 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id VAA08920; Thu, 30 Jul 1998 21:51:14 -0400 (EDT) Resent-Date: Thu, 30 Jul 1998 21:43:43 -0400 (EDT) To: zsh-users@math.gatech.edu Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.users Subject: Re: compctl - aliasing hostnames Date: 31 Jul 1998 01:45:30 GMT Organization: PrimeNet Computer Consultants Message-ID: References: <19980730230755.B6503@math.fu-berlin.de> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 901849530 819 203.24.36.33 (31 Jul 1998 01:45:30 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 31 Jul 1998 01:45:30 GMT X-Newsreader: slrn (0.9.5.2 UNIX) Resent-Message-ID: <"TE_0X2.0.p72.E5Imr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1689 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Sven Guckes typed: :I'd like to type "ssh alias" and be connected with "ssh hostname". :How could you "alias" a hostname with completion control? Example: : $ ssh alias : guckes@hostname's password: ssh has a config file for this. You don't need to do it with zsh. RTFM ssh(1) Something along the lines of: Host alias1 Hostname realname1 User user1 Host alias2 Hostname realname2 # User user2 - unnecessary 'cos I'm the same as this host I'm sitting on Host alias3 Hostname realname3 User user3 -- Geoff Wing Mobile : 0412 162 441 Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/