Я больше не могу использовать vim
на моем сервере через ssh
без sudo
префикс.
команды, которые перестали работать тихо (никогда конец):
touch foo # works fine: I do have writing permissions in that folder
vim foo # fail
vim # fail
все работает с:
sudo vim foo
sudo vim
Хорошо, здесь была проблема:
я был зарегистрирован с ssh -Y
опция, которые включают trusted X11 forwarding
, как описано в man ssh
:
-Y Enables trusted X11 forwarding. Trusted X11 forwardings are not
subjected to the X11 SECURITY extension controls
(Debian-specific: This option does nothing in the default configuration:
it is equivalent to “ForwardX11Trusted yes”, which is the default as
described above. Set the ForwardX11Trusted option to “no” to restore
the upstream behaviour.This may hange in future depending on client-side
improvements.)
Соединение без той опции решило его так или иначе.