From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3BF6138359 for ; Sat, 11 Jul 2020 00:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95AD0E086C; Sat, 11 Jul 2020 00:36:17 +0000 (UTC) Received: from pmta11.teksavvy.com (pmta11.teksavvy.com [76.10.157.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B97FE082F for ; Sat, 11 Jul 2020 00:36:17 +0000 (UTC) IronPort-SDR: HQ8XzdXiRuJQZULtlTNxkOHL7gOuLyHWkUMjdTYUZdl/2y01tklZcLqwrjPo8JqUlvvYPLEq/F 07DcNS1oOFtg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2F7FgAICQlf/1J4oWxggQkHgUMCg2t?= =?us-ascii?q?fiGSEUIYIghCcCAsBAQE6AQIEAQGERwQCAoIYJTcGDgIDAQELAQEBBQEBAQE?= =?us-ascii?q?BBgQCAoZQQxYBAYVuAQQBOhwoCws0ElcZhgMgqV+BNIVRhR6BOAGNCj+BAj+?= =?us-ascii?q?EIT6EJWWCfIItBI8UpgMKgl2BDZg5Ai2RK417sG+BdYF8fQiDJFAZDVeNUxe?= =?us-ascii?q?OQCgwNwIGCAEBAwlXAYl5gQuEGwEB?= X-IPAS-Result: =?us-ascii?q?A2F7FgAICQlf/1J4oWxggQkHgUMCg2tfiGSEUIYIghCcC?= =?us-ascii?q?AsBAQE6AQIEAQGERwQCAoIYJTcGDgIDAQELAQEBBQEBAQEBBgQCAoZQQxYBA?= =?us-ascii?q?YVuAQQBOhwoCws0ElcZhgMgqV+BNIVRhR6BOAGNCj+BAj+EIT6EJWWCfIItB?= =?us-ascii?q?I8UpgMKgl2BDZg5Ai2RK417sG+BdYF8fQiDJFAZDVeNUxeOQCgwNwIGCAEBA?= =?us-ascii?q?wlXAYl5gQuEGwEB?= X-IronPort-AV: E=Sophos;i="5.75,337,1589256000"; d="scan'208";a="140852159" Received: from 108-161-120-82.dsl.teksavvy.com (HELO waltdnes.org) ([108.161.120.82]) by smtp11.teksavvy.com with SMTP; 10 Jul 2020 20:36:15 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 10 Jul 2020 20:36:03 -0400 From: "Walter Dnes" Date: Fri, 10 Jul 2020 20:36:03 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ssh defaults to coming in as user "root"? Message-ID: <20200711003603.GA20245@waltdnes.org> References: <20200710230851.GA19867@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Archives-Salt: 8f0ab46b-4f44-4b38-af0c-59a44c262b89 X-Archives-Hash: d35f9015be1a4aa3947d594482ef932e On Fri, Jul 10, 2020 at 07:49:37PM -0400, Rich Freeman wrote > Keep in mind that the username is set by the CLIENT, not the server, > so that is where the issue lies if it isn't using the username you > want it to. Doing some more googling. Lots of hits about people who want to log in as root (opposite of me). Apparently, you need a .ssh/config file to force that. I don't remember ever setting one one up. But I looked in .ssh; lo and behold, there it was. "cat" showed that its contents were Host thimk KexAlgorithms +diffie-hellman-group1-sha1 User root I renamed the file, and behaviour returned to expected behaviour... [i660][waltdnes][~] ssh thimk [thimk][waltdnes][~] The question is how did .ssh/config ever get there in the first place? -- Walter Dnes I don't run "desktop environments"; I run useful applications