Commit Graph

8 Commits

Author SHA1 Message Date
Leonid Pliushch
2f09e83274 openssh: update list of env variables to keep
See https://github.com/termux/termux-api/issues/301.
2020-03-08 20:53:27 +02:00
Leonid Pliushch
4d3a6658d4 termux-tools: do not print motd on OpenSSH login when config PrintMotd=no
Now OpenSSH will not print motd on its own which may result in duplicate.
Instead it will control the login script via environment variable.

Fixes https://github.com/termux/termux-packages/issues/3941.
2019-09-06 01:59:07 +03:00
Fredrik Fornwall
90ef6f9cef openssh: Update from 7.9p1 to 8.0p1 2019-04-18 09:07:15 +02:00
Leonid Pliushch
2d0fe0b02b openssh: fix path for /tmp/sshauth.XXXXXXXXXXXXXXX 2019-03-02 14:52:55 +02:00
Tom Yan
5d3ef9ba0c make PS1 dynamic and shell-specific
PS1 is not supposed to be an environment variable (i.e. will not
be listed in `printenv` but only in `set`). Its value should also
be shell-specific.

With this commit we can stop exporting a static PS1 as env var on
the java side.

The prompt would now indicate whether the current user is root.
2018-06-22 01:11:37 +02:00
Tom Yan
9cd99e6e02 openssh: keep TMPDIR and PS1 2018-05-14 18:07:42 +02:00
Fredrik Fornwall
bf7f306e00 openssh: Update from 7.6 to 7.7 2018-04-04 00:09:47 +02:00
Fredrik Fornwall
ebd854a810 openssh: Fix building with unified headers 2017-06-30 22:55:31 +02:00