Closed aliir74 closed 3 months ago
the task require private key. you can see the error: joker log ID
You're right. I mistakenly said public_key
. I put private key actually.
The logs are saying:
...
sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600
sh: 1: sshexec: not found
command sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600 failed
sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600
sh: 1: sshexec: not found
command sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600 failed
sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600
sh: 1: sshexec: not found
command sshexec -s ' ip:port' -u 'root' -k '/tmp/sshkey' --download '/root/brook/log.txt' --to '/tmp/_' --timeout 600 failed
sorry, I forget sshexec, just
nami install sshexec
Thank you. It fixed the problem.
Hey!
Thank you for your sample user management system.
I created a task to count traffic consumption but it wouldnt work. Is there any specific settings that I need to apply?
I created a task with ssh public key and with addressing pid and log keys. Also changed their permission to 777 but it didnt help.