Giter Site home page Giter Site logo

免密报错 about sealos HOT 8 CLOSED

labring avatar labring commented on May 23, 2024
免密报错

from sealos.

Comments (8)

cuisongliu avatar cuisongliu commented on May 23, 2024

请附上 执行命令以及错误堆栈信息。

from sealos.

fanux avatar fanux commented on May 23, 2024

是不是各服务器密码不一样? 用--passwd服务器密码必须都一样,否则请用密钥, https://sealyun.com/faq/ FAQ中也有常见问题

from sealos.

currycan avatar currycan commented on May 23, 2024

执行命令:

sealos init --master 10.88.88.1 \
    --master 10.88.88.2 \
    --master 10.88.88.3 \
    --node 10.88.88.4 \
    --node 10.88.88.5 \
    --node 10.88.88.6 \
    --user root \
    --pk /root/.ssh/id_ed25519 \
    --version v1.15.0 \
    --pkg-url /root/kube1.15.0.tar.gz

报错:

2019-09-03 09:03:31 [INFO] [github.com/fanux/sealos/install/utils.go:83] 10.88.88.2      ls -l /root | grep kube1.15.0.tar.gz | wc -l
2019-09-03 09:03:33 [EROR] [github.com/fanux/sealos/install/utils.go:89]        Error create ssh session failed ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
panic: 1

goroutine 9 [running]:
github.com/fanux/sealos/install.Cmd(0xc000022990, 0xb, 0xc000024960, 0x2c, 0x0, 0x0, 0x0)
        /go/src/github.com/fanux/sealos/install/utils.go:90 +0x4ba
github.com/fanux/sealos/install.RemoteFilExist(0xc000022990, 0xb, 0xc000020900, 0x17, 0x0)
        /go/src/github.com/fanux/sealos/install/utils.go:109 +0x1a7
github.com/fanux/sealos/install.SendPackage.func1(0xc000022bc0, 0xc000020900, 0x17, 0xc00002c0c0, 0x36, 0x100, 0x7fffd10856ed, 0x17, 0xc00002e6e0, 0x43, ...)
        /go/src/github.com/fanux/sealos/install/utils.go:292 +0xb0
created by github.com/fanux/sealos/install.SendPackage
        /go/src/github.com/fanux/sealos/install/utils.go:289 +0x56f
[root@k8s-master-01 ~]# ansible all -m ping
10.88.88.3 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
10.88.88.5 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
10.88.88.2 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
10.88.88.1 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
10.88.88.4 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
10.88.88.6 | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}

from sealos.

fanux avatar fanux commented on May 23, 2024

sealos 哪个版本的? https://github.com/fanux/sealos/releases/download/v2.0.5-alpha.1/sealos 试下这个版本

from sealos.

currycan avatar currycan commented on May 23, 2024

就是用的这个版本,刚刚试了下还不不行,用口令是可以的。

from sealos.

cuisongliu avatar cuisongliu commented on May 23, 2024

@currycan 你重新试一下最新版,我加了测试ssh的方法。感觉还是ssh没上去。你再看一下。

from sealos.

fanux avatar fanux commented on May 23, 2024

先关了,有问题reopen

from sealos.

currycan avatar currycan commented on May 23, 2024

抱歉现在才回复,已经验证过了。现在没问题了,谢谢!

from sealos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.