На самом деле это ошибка драйвера GPU . Это уже в вашей пасте.
ene 22 18:59:01 dlag-pc kernel: i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
ene 22 18:59:01 dlag-pc kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
ene 22 18:59:01 dlag-pc kernel: Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
ene 22 18:59:01 dlag-pc kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
ene 22 18:59:01 dlag-pc kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
ene 22 18:59:01 dlag-pc kernel: GPU crash dump saved to /sys/class/drm/card0/error
ene 22 18:59:01 dlag-pc kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
ene 22 18:59:01 dlag-pc kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
ene 22 18:59:01 dlag-pc kernel: i915 0000:00:02.0: Resetting chip for hang on rcs0
ene 22 18:59:01 dlag-pc kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Известно, что ошибка затрагивает kernel:5.3
и kernel:5.4
. Это уже разрешено в дереве kernel:5.5
.
Вам просто нужно расширить записи в файле ~/.ssh/config
. Может быть, что-то вроде следующего будет работать. Вам нужно будет поиграть с этим, потому что я чувствую, что ваш вопрос на самом деле не дает достаточно информации.
.ssh\config
:
# this entry is the one you're trying to ssh to
Host example
Hostname www.example.com
ProxyJump bhost
# this entry is the bastion (jump) host
Host bhost
Hostname www.example.com
Port 8022
User myuser
IdentityFile ~/.ssh/id_ed25519
На самом деле вы просто настраиваете два разных хоста в .ssh/config
и указываете одному использовать другой с помощью команды ProxyJump
.
Тогда ssh example
будет все, что вам нужно набрать, чтобы перейти к нужной целевой машине.
Ответ навеян Тимом Кеннеди . По его словам, это можно сделать через файл ~/.ssh/config.
Вот рабочее решение:
Host bhost
HostName www.example.com
PasswordAuthentication no
IdentityFile ~/.ssh/id_ed25519
Host example1
Hostname localhost
User myuser
Port 22021
ProxyJump bhost
PasswordAuthentication no
IdentityFile ~/.ssh/id_ed25519
Host example2
Hostname localhost
User myuser
Port 28022
ProxyJump bhost
PasswordAuthentication no
IdentityFile ~/.ssh/id_ed25519
Host example3
Hostname localhost
User myuser
Port 28023
ProxyJump bhost
PasswordAuthentication no
IdentityFile ~/.ssh/id_ed25519
Каждому целевому устройству необходим уникальный номер порта. У них также есть общее имя хоста localhost
. Хост-бастион — это, конечно же, настоящее доменное имя.
С этой конфигурацией вы можете добраться до любой из конечных целей с помощью:
ssh example1
Или
ssh exampleN