Page MenuHomePhabricator

not able to ssh to tools-dev from tools-login
Closed, InvalidPublic

Description

Author: johan.gunnarsson

Description:
Can not ssh to tools-dev from tools-login:

johang@tools-login:~$ ssh tools-dev

If you are having access problems, please see: https://wikitech.wikimedia.org/wiki/Access#Accessing_public_and_private_instances
Permission denied (publickey).


Version: unspecified
Severity: normal

Details

Reference
bz55945

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:20 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz55945.

ok, either you aren't forwarding your private key properly, or it's not located on tools-login in ~/.ssh

johan.gunnarsson wrote:

Yup, that's it. I wasn't forwarding it correctly.

(In reply to comment #2)

Yup, that's it. I wasn't forwarding it correctly.

No, the problem lies with Tools in that host-based authentification between tools-dev and tools-login isn't working anymore. ssh'ing from tools-dev and tools-login to tools-exec-01 succeeds.

I discovered that both tools-dev and tools-login had the ssh_hba variable unset, but setting it back to "yes" didn't fix the issue. There were some changes to the submit host mechanism in conjunction with the introduction of the webnode role, but I don't see anything obvious. Need to debug further.