Comments (7)
@falseUtopia 问题出在以太网 6
中间的空格上。
你试试把这行记录删了,再把网卡以太网 6
改成 以太网6
,就是把空格去掉,然后让 ssh 或 tssh 重新写一条 known_hosts,然后再看看 tssh demo.local
和 tssh user@fe80::20c:29ff:fe18:e2b5%以太网6
( 其中 user
要换成你的用户名)是不是都能正常登录?
另外,这行记录是 tssh 写进去的吗?如果是 tssh 写的,应该会省略 22 才对。
from trzsz-ssh.
记录是tssh写的。
试了下,的确是空格导致,现修改 网络连接的名称 把空格去除后, 使用正常。
同时,在网络连接名称依然有空格的情况下,只把 known_hosts
中的空格删除掉,使用依然正常。
看看这个空格好不好处理。
from trzsz-ssh.
端口不是 22 ,是 2222,对吧?那看着像是 tssh 写的。
有空格时,可以让 tssh 不写入 IP。这样,用 tssh demo.local
也是能正常登录的,不过用 tssh "fe80::20c:29ff:fe18:e2b5%以太网 6"
就还是会有问题。
from trzsz-ssh.
@falseUtopia 有空帮测试一下以下两种能不能登录?可能会写往 known_hosts 写入有问题的记录,事后要自己清理一下。
tssh -l username "fe80::20c:29ff:fe18:e2b5"
tssh -l username "fe80::20c:29ff:fe18:e2b5%以太网 6"
from trzsz-ssh.
@falseUtopia 最新的代码已经避免了往 known_hosts 中写入空格了,在 0.1.12
发布前,可以这样安装:
go install github.com/trzsz/trzsz-ssh/cmd/tssh@main
from trzsz-ssh.
@falseUtopia 有空帮测试一下以下两种能不能登录?可能会写往 known_hosts 写入有问题的记录,事后要自己清理一下。
tssh -l username "fe80::20c:29ff:fe18:e2b5" tssh -l username "fe80::20c:29ff:fe18:e2b5%以太网 6"
试了一把,两个都可以连
from trzsz-ssh.
tssh v0.1.12 已解决。
from trzsz-ssh.
Related Issues (20)
- ~/.ssh/config 中配置的 SetEnv TERM 无效 HOT 2
- 能否支持登录之后切换用户呢? HOT 1
- 能否做一个忽略的功能呢?ssh中存在很多其实并不需要真的连接的配置。 HOT 6
- tssh无法用key连接,ssh正常,请问是哪里没正确吗? HOT 55
- [功能请求] 通过命令行参数传递密码 HOT 2
- 无法解析 ssh/confg 中多项 Include HOT 6
- 可以美化文件传输的进度条吗? HOT 4
- 引入兼容 Warp 的软链接后,影响了 rsync 的运行 HOT 3
- 按照免密登录配置后,ssh 登录可以免密,但是 tssh 提示请出入密码。 HOT 1
- [selfupdate] could u kindly consider add selfupdate
- mintty Ctrl-C退出整个tssh HOT 12
- -R for serveo.net or ssh-j.com on Windows10 and Debian12 HOT 19
- My user name include a symbol '#' that i can't login destination host HOT 2
- 无法激活1password的ssh agent HOT 5
- [suggestion] is it possible to add feature of provider api HOT 4
- 使用 lrzsz 报错 run rz client failed: exec: "rz": executable file not found in %PATH% HOT 2
- 增加LoongArch架构支持 HOT 4
- X11 Forwarding on Windows OS HOT 3
- 拖曳上传现在只支持trzsz, 能否支持lrzsz的拖曳上传? HOT 1
- 在 warp 中 block 功能不生效 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trzsz-ssh.