無法使用ssh-copy-id root@IP - Linux
By Hedda
at 2021-10-15T07:42
at 2021-10-15T07:42
Table of Contents
是這樣的
最近在學習用ansible部屬K8S
參考網站:https://reurl.cc/vg0ZQA
mgmt 192.168.0.101
node1 192.168.0.102
其中要在mgmt這台輸入ssh-copy-id [email protected]把私鑰丟過去node1
都會顯示access denied
已有
1.passwd root 修改root密碼
2.修改sshd_config >>>PermitRootLogin yes
3.重啟sshd systemctl restart sshd
也有看到2018的文章說要在sshd_config內新增
AllowUser root
這段
但還是一樣
不知道有沒有人知道怎解
Ubuntu版本20.04
--
最近在學習用ansible部屬K8S
參考網站:https://reurl.cc/vg0ZQA
mgmt 192.168.0.101
node1 192.168.0.102
其中要在mgmt這台輸入ssh-copy-id [email protected]把私鑰丟過去node1
都會顯示access denied
已有
1.passwd root 修改root密碼
2.修改sshd_config >>>PermitRootLogin yes
3.重啟sshd systemctl restart sshd
也有看到2018的文章說要在sshd_config內新增
AllowUser root
這段
但還是一樣
不知道有沒有人知道怎解
Ubuntu版本20.04
--
Tags:
Linux
All Comments
By Eden
at 2021-10-19T03:27
at 2021-10-19T03:27
By Victoria
at 2021-10-22T23:12
at 2021-10-22T23:12
By Steve
at 2021-10-26T18:57
at 2021-10-26T18:57
By Carol
at 2021-10-30T14:42
at 2021-10-30T14:42
By Lydia
at 2021-11-03T10:26
at 2021-11-03T10:26
By Liam
at 2021-11-07T06:11
at 2021-11-07T06:11
By Candice
at 2021-11-11T01:56
at 2021-11-11T01:56
Related Posts
ArchLinux 自動模組載入
By Poppy
at 2021-10-14T19:30
at 2021-10-14T19:30
Apple iTunes
By Victoria
at 2021-10-12T10:38
at 2021-10-12T10:38
UEFI 開機選單少了 Linux
By Mary
at 2021-10-11T21:35
at 2021-10-11T21:35
WSL ssh 連線問題
By Leila
at 2021-10-10T21:49
at 2021-10-10T21:49
Linux Gaming : Steamplay (Proton)
By Bennie
at 2021-10-10T12:22
at 2021-10-10T12:22