1 |
On 2/27/06, Marco Calviani <marco.calviani@×××××.com> wrote: |
2 |
> Hi Richard, |
3 |
> |
4 |
> > Those escape characters are recognized only by the getty program, |
5 |
> > which is used for console logins. You should still be able to use the |
6 |
> > color setting escape sequences, since those are terminal escapes. But |
7 |
> > the substitution stuff is getty specific, and will not work with ssh. |
8 |
> |
9 |
> thanks for sharing this info. It comes completely new for me. So, as |
10 |
> far as i understand, there is no way of having this info with ssh |
11 |
> login? Am i right? |
12 |
|
13 |
The current time will be difficult. But you could create a file (like |
14 |
/etc/issue.ssh) with the rest of the information in it: |
15 |
|
16 |
echo "This is `hostname`.`hostname -d` ( `uname -s` `uname -m` `uname |
17 |
-r` )" > /etc/issue.ssh |
18 |
|
19 |
You could put the above in local.start to update the hostname or |
20 |
kernel version information at each boot. |
21 |
|
22 |
-Richard |
23 |
|
24 |
-- |
25 |
gentoo-user@g.o mailing list |