[PR #59] [CLOSED] Add known_hosts file syncing #67

Closed
opened 2026-02-28 01:17:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/therealpaulgg/ssh-sync/pull/59
Author: @therealpaulgg
Created: 5/20/2025
Status: Closed

Base: mainHead: codex/improve-syncing-of-known-hosts-file


📝 Commits (1)

  • b70ad6a Document known hosts feature

📊 Changes

6 files changed (+83 additions, -5 deletions)

View changed files

📝 README.md (+1 -0)
📝 pkg/actions/download.go (+3 -0)
📝 pkg/actions/upload.go (+17 -0)
📝 pkg/dto/main.go (+6 -5)
📝 pkg/retrieval/data_test.go (+1 -0)
pkg/utils/knownhosts.go (+55 -0)

📄 Description

Summary

  • support storing and writing known_hosts
  • expose KnownHosts in DataDto
  • sync known_hosts when downloading or uploading
  • document this feature in README

Testing

  • go test ./... (fails: no route to host)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/therealpaulgg/ssh-sync/pull/59 **Author:** [@therealpaulgg](https://github.com/therealpaulgg) **Created:** 5/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/improve-syncing-of-known-hosts-file` --- ### 📝 Commits (1) - [`b70ad6a`](https://github.com/therealpaulgg/ssh-sync/commit/b70ad6aacef7de6a610a948537fb61b0ef97f79c) Document known hosts feature ### 📊 Changes **6 files changed** (+83 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `pkg/actions/download.go` (+3 -0) 📝 `pkg/actions/upload.go` (+17 -0) 📝 `pkg/dto/main.go` (+6 -5) 📝 `pkg/retrieval/data_test.go` (+1 -0) ➕ `pkg/utils/knownhosts.go` (+55 -0) </details> ### 📄 Description ## Summary - support storing and writing `known_hosts` - expose `KnownHosts` in `DataDto` - sync known_hosts when downloading or uploading - document this feature in README ## Testing - `go test ./...` *(fails: no route to host)* --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:17:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ssh-sync#67
No description provided.