[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command to start sshfs at bootup?



On Sun, Apr 18, 2021 at 12:41:05PM -0400, Gene Heskett wrote:
> On Sunday 18 April 2021 10:05:36 Greg Wooledge wrote:
> > I'm not saying that *all* programs will handle this hostname
> > correctly, but bullseye's version of getent(1) does.  Assuming of
> > course that you have corrected your broken configuration, which had
> > "3d" instead of "3dprint" in the hosts file.
> 
> That was in the alias position of the hosts files. And while is now been 
> removed, it did work as an alias to dddprint.

You are allowed to have MANY aliases in that "position".

10.0.0.3   3dprint.local 3dprint 3d threed ddd

At the BARE minimum, you are expected to have the one "canonical" name
(which includes your LAN's domain name or pseudo-domain name), and then
the short form hostname.  Everything AFTER that are your optional aliases.

> My best guess, and admittedly a WAG, certainly not a SWAG, is that ssh 
> and its ilk have been around for yonks. It has not been updated to allow 
> what the lastest rfc now does. Based on that, perhaps a low priority bug 
> should be entered?

Stop guessing.  Start testing.

unicorn:~$ grep 3d /etc/hosts
127.0.0.1	localhost 3dprint
unicorn:~$ ssh 3dprint
The authenticity of host '3dprint (127.0.0.1)' can't be established.
ECDSA key fingerprint is SHA256:Qja12gT16BfC+LPi5Cix3/yCE0pnMKhxTnnifdJbIAE.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '3dprint' (ECDSA) to the list of known hosts.
greg@3dprint's password: 
Linux unicorn 5.10.0-5-amd64 #1 SMP Debian 5.10.24-1 (2021-03-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Apr  2 09:17:25 2021 from 139.137.128.43


Reply to: