当我创建 SSH 公钥并提示我输入账户密码时,终端返回
bash: line 2: .ssh/authorized_keys: Permission denied
当我打开时authorized_keys
我无法手动保存它;
Unable to save ~/.ssh/authorized_keys
Error: administrator_copy_file(/tmp/.subl36c.tmp, /home/lee/.ssh/authorized_keys) failed: /usr/bin/pkexec failed
对 Ubuntu 仍不熟悉;使用具有未知历史记录的预先存在的安装。
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
返回:
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success