錯誤的全稱是 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
就是ssh 后面加上ip,但是過不去.
我是用xshell連接的,現在是root用戶
其中/etc/ssh/sshd_config下面的
PasswordAuthentication yes
PermitRootLogin yes
PubkeyAuthetication yes
strictModes yes
我在網上查的資料還有RSAAuthentication 設定為yes,但是我在sshd_config里面沒有找到.
還有個小的問題,就是我在/etc/hosts里面配置的 映射ip,是用IPv4公有IP還是私有IP?
uj5u.com熱心網友回復:
不在同一網路下,又沒有 V-P-N 雙方互相互動的只能是公網ip,使用 ssh roo@ip 埠連接下試試轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/74706.html
標籤:專題技術討論區
