SSH logins broken over Tor #3

Closed
opened 2020-09-07 01:19:20 +00:00 by extinctionRebel · 1 comment
First-time contributor

I uploaded my SSH pubkey and verifed that the fingerprint showing in my Nixnet 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:

ERROR: Got error response: 91: 'request rejected or failed'.
FATAL: failed to begin relaying via SOCKS.
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The abridged .ssh/config looks generally like this:

host nixnet
     hostname     git.nixnet.xyz
     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_nixnet

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

[remote "origin"]
	url = ssh://git@nixnet/extinctionRebel/MythRokuPlayer.git
	fetch = +refs/heads/*:refs/remotes/origin/*
I uploaded my SSH pubkey and verifed that the fingerprint showing in my Nixnet 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: ``` ERROR: Got error response: 91: 'request rejected or failed'. FATAL: failed to begin relaying via SOCKS. ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` The abridged `.ssh/config` looks generally like this: ``` host nixnet hostname git.nixnet.xyz 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_nixnet ``` The relevant stanza in `.git/config` looks like this: ``` [remote "origin"] url = ssh://git@nixnet/extinctionRebel/MythRokuPlayer.git fetch = +refs/heads/*:refs/remotes/origin/* ```
Author
First-time contributor

sorry, my mistake. It works. I missed the ssh port. Closing this.

sorry, my mistake. It works. I missed the ssh port. Closing this.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
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: NixNet/NixNet#3
No description provided.