From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: over-engineered (and under-standardized) inferior interfaces Date: Wed, 27 Aug 2014 06:46:28 -0400 Message-ID: References: <87iolld15k.fsf@igel.home> <87oavdjbes.fsf@gmx.de> <87ha13utgp.fsf@gmx.de> <87egw25siy.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1409136401 14385 80.91.229.3 (27 Aug 2014 10:46:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 10:46:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 27 12:46:36 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XMakO-00077b-7z for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 12:46:36 +0200 Original-Received: from localhost ([::1]:58708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMakN-0001TR-JC for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 06:46:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMakK-0001TM-LE for emacs-devel@gnu.org; Wed, 27 Aug 2014 06:46:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMakJ-0007Vi-Cb for emacs-devel@gnu.org; Wed, 27 Aug 2014 06:46:32 -0400 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:52708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMakJ-0007VT-3t for emacs-devel@gnu.org; Wed, 27 Aug 2014 06:46:31 -0400 Original-Received: by mail-lb0-f180.google.com with SMTP id 10so19187lbg.39 for ; Wed, 27 Aug 2014 03:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/9y2HauFB5wshxN1reVPUqd3DyFnHtEuXJSc9Gl0nWM=; b=iKMwBm1ValQezoF7/QfHsjP4oMM/mtEVrYZ3OCuZGu9rv1BVwF2LL6H1NHJtglsrUF maRNTo5bQ+P4z1jrwlw1lGBidK2wj+EEndPkv7L/8NsdvVNKHdpb5vdc6JLXwJ+1JMO9 ByuxIeIzlhJg7NoY0oIMwp5Pqe773vhHWUxT25x61flsiyun8PcpFcX2P3wONbyemUDQ AegGDSCcGdfONpaSQmH69/oElWFBW03t/Tex9FC8yJC686qGZLBz/cJ3NVOCoTT4ACtD fOtLgQ+73bqPXsKgUyL7bp31PxCCUhIq366LOGuClqEr+bXyHxr7zwSYIL72ZJYSBb1c MFzw== X-Received: by 10.112.33.74 with SMTP id p10mr31467193lbi.0.1409136388609; Wed, 27 Aug 2014 03:46:28 -0700 (PDT) Original-Received: by 10.112.109.69 with HTTP; Wed, 27 Aug 2014 03:46:28 -0700 (PDT) In-Reply-To: <87egw25siy.fsf@gmx.de> X-Google-Sender-Auth: ZyI7rZgq5RVprMbezSRW_IIqo44 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173838 Archived-At: On Wed, Aug 27, 2014 at 2:57 AM, Michael Albinus wrote: > Sam Steingold writes: > >> (setq sql-vertica-default-directory "/ssh:vertica|sudo:dbadmin") > > How shall this work? You hop to 2 different hosts "vertica" and > "dbadmin", without saying which user to take for authentication. And > sudo does not work this way, it must always be on the same host as the > previous hop (or localhost, when it is the first and only hop). > > See my example "/ssh:user1@host|sudo:user2@host:". It is by intention, > that I haven't written "host1" and "host2". Okay, thanks for the explanation, I did (setq sql-vertica-default-directory "/ssh:vertica|sudo:dbadmin@vertica:") and (setq sql-vertica-default-directory "/ssh:vertica|sudo:dbadmin@vertica/") and still got Host name must not match method "sudo" -- Sam Steingold