Code Monkey home page Code Monkey logo

Comments (7)

lonnywong avatar lonnywong commented on June 14, 2024

@falseUtopia 问题出在以太网 6 中间的空格上。

你试试把这行记录删了,再把网卡以太网 6 改成 以太网6 ,就是把空格去掉,然后让 ssh 或 tssh 重新写一条 known_hosts,然后再看看 tssh demo.localtssh user@fe80::20c:29ff:fe18:e2b5%以太网6 ( 其中 user 要换成你的用户名)是不是都能正常登录?

另外,这行记录是 tssh 写进去的吗?如果是 tssh 写的,应该会省略 22 才对。

from trzsz-ssh.

falseUtopia avatar falseUtopia commented on June 14, 2024

记录是tssh写的。
试了下,的确是空格导致,现修改 网络连接的名称 把空格去除后, 使用正常。
同时,在网络连接名称依然有空格的情况下,只把 known_hosts 中的空格删除掉,使用依然正常。
看看这个空格好不好处理。

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

端口不是 22 ,是 2222,对吧?那看着像是 tssh 写的。

有空格时,可以让 tssh 不写入 IP。这样,用 tssh demo.local 也是能正常登录的,不过用 tssh "fe80::20c:29ff:fe18:e2b5%以太网 6" 就还是会有问题。

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

@falseUtopia 有空帮测试一下以下两种能不能登录?可能会写往 known_hosts 写入有问题的记录,事后要自己清理一下。

tssh -l username "fe80::20c:29ff:fe18:e2b5"

tssh -l username "fe80::20c:29ff:fe18:e2b5%以太网 6"

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

@falseUtopia 最新的代码已经避免了往 known_hosts 中写入空格了,在 0.1.12 发布前,可以这样安装:

go install github.com/trzsz/trzsz-ssh/cmd/tssh@main

from trzsz-ssh.

falseUtopia avatar falseUtopia commented on June 14, 2024

@falseUtopia 有空帮测试一下以下两种能不能登录?可能会写往 known_hosts 写入有问题的记录,事后要自己清理一下。

tssh -l username "fe80::20c:29ff:fe18:e2b5"

tssh -l username "fe80::20c:29ff:fe18:e2b5%以太网 6"

试了一把,两个都可以连

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

tssh v0.1.12 已解决。

from trzsz-ssh.

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.