On 2023-05-10 14:36:25 +0200, Vincent Lefevre wrote:
[...]
> zira:~> ssh cventin xterm
> Connected to cventin (from 140.77.51.8)
> OS: Debian GNU/Linux 12 (bookworm) [x86_64]
> DISPLAY: localhost:11.0
> 
> and xterm is started as expected. FYI, some data, like DISPLAY, are
> output by my .ssh/rc script (I've attached it and the associated
> .ssh/xauth.wrapper Perl script too, in case this can be useful).

Note: if you play with .ssh/rc, be careful as there is a risk
that you may not log in any more with ssh in case of mistake
(I'm wondering whether there is an undocumented way to skip it).

For details, see the sshd(8) man page.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to