SSH logins broken over Tor #2

Open
opened 2020-09-07 00:44:57 +00:00 by xtinctionRebeller · 0 comments

I uploaded my SSH pubkey and verifed that the fingerprint showing in my Yerbamate profile matches the fingerprint of the local copy of the pubkey that I uploaded. I ran: GIT_SSH_COMMAND="ssh -vvv" git push -u origin master to push git changes. The detailed debug output showed that the correct pubkey was attempted first. The session eventually falls over with:

Received disconnect from UNKNOWN port 65535:2: Too many authentication failures
Authentication failed.
fatal: Could not read from remote repository.

SSH is configured to connect on port 222 (as directed by yerbamate.dev), so it seems bizarre that SSH reports that I'm disconnecting from "port 65535".

The abridged .ssh/config looks generally like this:

host yerbamate
     hostname     yerbamate.dev
     port         222
     ForwardX11   no
     ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p
     IdentityFile /home/user/.ssh/id_rsa_yerbamate

The relevant stanza in .git/config looks like this:

[remote "origin"]
	url = ssh://git@yerbamate/xtinctionRebeller/MythRokuPlayer.git
	fetch = +refs/heads/*:refs/remotes/origin/*
I uploaded my SSH pubkey and verifed that the fingerprint showing in my Yerbamate profile matches the fingerprint of the local copy of the pubkey that I uploaded. I ran: `GIT_SSH_COMMAND="ssh -vvv" git push -u origin master` to push git changes. The detailed debug output showed that the correct pubkey was attempted first. The session eventually falls over with: ``` Received disconnect from UNKNOWN port 65535:2: Too many authentication failures Authentication failed. fatal: Could not read from remote repository. ``` SSH is configured to connect on port 222 (as directed by yerbamate.dev), so it seems bizarre that SSH reports that I'm disconnecting from "port 65535". The abridged `.ssh/config` looks generally like this: ``` host yerbamate hostname yerbamate.dev port 222 ForwardX11 no ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p IdentityFile /home/user/.ssh/id_rsa_yerbamate ``` The relevant stanza in `.git/config` looks like this: ``` [remote "origin"] url = ssh://git@yerbamate/xtinctionRebeller/MythRokuPlayer.git fetch = +refs/heads/*:refs/remotes/origin/* ```
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: nutomic/yerbamate-ml#2
No description provided.