Closed fortynachos closed 8 years ago
Hey!
What OS is this on and are the client and hub and on the same server?
Can you try manually connecting like so and see what it says?
ssh -v -i ~/.ssh/minicron_host_X_rsa user@localhost
Where X
is the ID of the host that you see in the URL when you view it and user
is the user you configured the host to use for ssh.
I'm closing this due to inactivity, feel free to re-open if you still wish to discuss it further.
Hi! I ran into similar problem. authorized key set up similarly to @jamesrwhite Running ssh -v -i ..ssh/minicron_host_x_rsa yizhe@silver gives me the following message gist
Hey, I resolved this issue by running: chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
Hi James!
Sorry if this is a duplicate question, but I've read through https://github.com/jamesrwhite/minicron/issues/169 and https://github.com/jamesrwhite/minicron/issues/178 but I'm still stumped.
0) I installed this using your install script, and am using ruby 2.1.0. 1) Minicron is in my $PATH:
2) I've added the relevant minicron public key to my authorized keys:
3) I've tried using the root user when defining the host, but not only does that not work, but it's not really what I want since the commands I want to execute shouldn't use root.
I can kick off jobs using the CLI (
minicron run ls
, for example), but when I go to test the connection on that very same job in the UI, the test fails, and I get aAuthentication failed for user michael.fotinatos@127.0.0.1
.Here's my
/etc/minicron.toml
in a gist. I'm probably just doing something stupid, but could you help point me in the right direction?