[GH-ISSUE #1] Interesting: two different responses when using sshsrv and ssh #2

Open
opened 2026-02-26 17:45:08 +03:00 by kerem · 0 comments
Owner

Originally created by @GwynethLlewelyn on GitHub (Sep 2, 2017).
Original GitHub issue: https://github.com/Crosse/sshsrv/issues/1

It's more easier to show you the logs using a gist.

I've set a SRV record:

$ dig +short _ssh._tcp.git.gwynethllewelyn.net SRV
1 1 22 autonomy.gwynethllewelyn.net.

And logging in certainly works, but sshsrv seems to have some trouble with it... the attached gist has two sequences of verbose ssh logs, one with sshsrv, the second one with the exact command that sshsrv actually used. It gets a permission denied error...

(Note: I'm being mean. I'm actually also having problems with software which execute ssh in the way you do — namely, git. It has the same issue as sshsrv. My hope is that if you figure out why this happens, I will be able to replicate the issue with git and other, similar software :) )

(P.S.: Yay! You're using Go! Go Gophers :) [aye, I'm a recent convert, and as all recent converts, I'm rather fanatical about Go at this moment...])

Originally created by @GwynethLlewelyn on GitHub (Sep 2, 2017). Original GitHub issue: https://github.com/Crosse/sshsrv/issues/1 It's more easier to show you the logs using a [gist](https://gist.github.com/GwynethLlewelyn/e297fe5ef93281fa0cf1fbae9317e970). I've set a SRV record: ``` $ dig +short _ssh._tcp.git.gwynethllewelyn.net SRV 1 1 22 autonomy.gwynethllewelyn.net. ``` And logging in certainly works, but `sshsrv` seems to have some trouble with it... the attached gist has two sequences of verbose ssh logs, one with sshsrv, the second one _with the exact command that sshsrv actually used_. It gets a _permission denied_ error... (Note: I'm being mean. I'm actually also having problems with software which execute ssh in the way you do — namely, `git`. It has the same issue as `sshsrv`. My hope is that if you figure out why this happens, I will be able to replicate the issue with `git` and other, similar software :) ) (P.S.: Yay! You're using Go! Go Gophers :) [aye, I'm a recent convert, and as all recent converts, I'm rather fanatical about Go at this moment...])
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/sshsrv#2
No description provided.