mirror of
https://github.com/Adembc/lazyssh.git
synced 2026-07-14 12:13:34 +02:00
correct parse the identyfile and allow remove tags
This commit is contained in:
@@ -61,10 +61,8 @@ func (sd *ServerDetails) UpdateServer(server domain.Server) {
|
||||
if server.LastSeen.IsZero() {
|
||||
lastSeen = "Never"
|
||||
}
|
||||
serverKey := server.Key
|
||||
if serverKey == "" {
|
||||
serverKey = "(default: ~/.ssh/id_{rsa,ed25519,ecdsa})"
|
||||
}
|
||||
serverKey := strings.Join(server.IdentityFiles, ", ")
|
||||
|
||||
pinnedStr := "true"
|
||||
if server.PinnedAt.IsZero() {
|
||||
pinnedStr = "false"
|
||||
|
||||
Reference in New Issue
Block a user