
當我建立 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