-
-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
如题。ssh正常,tssh报错ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain。
配置如下:
Host *
IdentityAgent "/Users/star/Library/Containers/com.bitwarden.desktop/Data/.bitwarden-ssh-agent.sock"
Host nas
IdentityFile "~/.ssh/nas"
...
IdentityFile是我为了搞清楚错误原因加上的,这个文件并不存在。理论上ssh的时候会直接在bitwardeen查找key,不会使用到这个文件。使用ssh可以正常登录。使用tssh的时候,可以看到tssh尝试了5个key,这是我bitwardeen中的所有ssh key,nas是其中一个。tssh应该是5次尝试都失败了,所以报了no such file的warning?如果去掉IdentityFile就不会报这个warning,直接报错handshake failed。

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels