Linux ssh & x11: различия между версиями

Материал из support.qbpro.ru
Нет описания правки
Нет описания правки
 
Строка 13: Строка 13:
  '''GSSAPIAuthentication no'''
  '''GSSAPIAuthentication no'''
  '''AddressFamily inet'''
  '''AddressFamily inet'''
'''MACs umac-64@openssh.com'''
  '''Compression yes'''
  '''Compression yes'''
  PrintMotd no
  PrintMotd no

Текущая версия от 21:01, 2 апреля 2024

Запуск через ssh приложений Xorg

  • Вносим изменения в /etc/ssh/sshd_config на подключаемом хосте:
...
Include /etc/ssh/sshd_config.d/*.conf
ChallengeResponseAuthentication no
PubkeyAuthentication yes
ChallengeResponseAuthentication no
KerberosAuthentication no
GSSAPIAuthentication no
UsePAM yes
X11Forwarding yes
GSSAPIAuthentication no
AddressFamily inet
Compression yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem	sftp	/usr/lib/openssh/sftp-server
...

и перезапускаем ssh:

sudo systemctl restart ssh
  • Команда подключения - пример:
ssh -Y -X user@192.168.12.4 firefox