Remote access url and fingerprint in /etc/issue

Stef Walter stefw at redhat.com
Tue Jul 1 11:04:05 UTC 2014


I'd like to work [0] on adding a remote access URL to /etc/issue for
Fedora Server 21 and Atomic. This puts useful information on the VT,
especially for virtual machines, and also servers with monitors attached.

It would look something like:


   Fedora Release 21 (xxx)
   Kernel 3.14.8-200.fc20.x86_64 on an x86_64 (tty1)

   Remote access:
     https://192.168.11.10:4444
     SHA1: 80:81:46:45:0E:FF:75:AD:C5:40:7A:C2:38:74:57:46:BF:B1:DD:1C

   localhost login:


Some notes or questions.

 * Including the certificate fingerprint makes it possible for more
   users to securely connect even when using self-signed certificate.

 * Should we include the appropriate ssh command?

 * Implementing the http URL is easy given agetty's support for \4 [1]

 * When Cockpit generates a self-signed certificate, it could either
   put the fingerprint directly in /etc/issue or alternatively we
   could work on a solution revolving around \S{VARIABLE} and
   /etc/os-release

There's also the case of headless servers. I would like some way to have
users be able to see the above info too. Perhaps via /etc/motd, or
perhaps some other way.

Cheers,

Stef

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1110763

[1] man 8 agetty


More information about the server mailing list