Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actually store known hosts #1

Open
maxheld83 opened this issue Jan 28, 2019 · 1 comment
Open

actually store known hosts #1

maxheld83 opened this issue Jan 28, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@maxheld83
Copy link
Owner

the public key for a known host is currently saved, but is not actually used.

The Rsync call still needs ssh -o StrictHostKeyChecking=no, otherwise we get a host key verification error.

@maxheld83 maxheld83 added the help wanted Extra attention is needed label Jan 28, 2019
@maxheld83 maxheld83 pinned this issue Feb 19, 2019
maxheld83 added a commit that referenced this issue Mar 14, 2019
@lgarron
Copy link

lgarron commented Apr 10, 2019

I had this same problem in a similar implementation.

In our case, the home directory was /github/home/, but rsync/scp/ssh itself were using /root/.ssh/ !

So if you haven't tried it yet, I'd recommend trying -o UserKnownHostsFile= $SSH_PATH/known_hosts for the rsync SSH arg, or using SSH_PATH="/root/.ssh"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants