ceph-post-file : Permission denied (publickey).
Hello,
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peer
do I need to set anything on my side to be able to upload file with this command ?
Thanks
Signature · 2 lines
Yoann Moulin EPFL IC-IT
Quoted 12 lines · Yoann Moulin
Hello,
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peer
Quoted 1 line
do I need to set anything on my side to be able to upload file with this command ?
$ ./bin/ceph-post-file test_file args: -- test_file ./bin/ceph-post-file: upload tag eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2 ./bin/ceph-post-file: user: brad@localhost ./bin/ceph-post-file: will upload file test_file sftp> mkdir post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> cd post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> put /tmp/tmp.1biVN9avrx user sftp> put test_file ./bin/ceph-post-file: copy the upload id below to share with a dev:
ceph-post-file: eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2
You can test connectivity with something like the following.
$ sftp -o "IdentityFile=../share/id_rsa_drop.ceph.com" -C -oCheckHostIP=no -oGlobalKnownHostsFile=../share/known_hosts_drop.ceph.com -oBatchMode=no -oIdentitiesOnly=yes -- [email protected] Connected to drop.ceph.com. sftp>
Try running your command as follows to get a better idea what it's doing.
$ bash -x ceph-post-file 17180.tgz
In your case the key may be somewhere other than /usr/local/share/ceph/id_rsa_drop.ceph.com and may not be being found by the script. known_hosts_drop.ceph.com should be in the same directory I hope.
Signature · 2 lines
HTH, Brad
Quoted 10 lines
Thanks
--
Yoann Moulin
EPFL IC-IT
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
Quoted 23 lines
Quoted 11 lines
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peerdo I need to set anything on my side to be able to upload file with this command ?
$ ./bin/ceph-post-file test_file args: -- test_file ./bin/ceph-post-file: upload tag eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2 ./bin/ceph-post-file: user: brad@localhost ./bin/ceph-post-file: will upload file test_file sftp> mkdir post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> cd post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> put /tmp/tmp.1biVN9avrx user sftp> put test_file ./bin/ceph-post-file: copy the upload id below to share with a dev:
Quoted 7 lines
ceph-post-file: eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2
You can test connectivity with something like the following.
$ sftp -o "IdentityFile=../share/id_rsa_drop.ceph.com" -C -oCheckHostIP=no -oGlobalKnownHostsFile=../share/known_hosts_drop.ceph.com -oBatchMode=no -oIdentitiesOnly=yes -- [email protected] Connected to drop.ceph.com. sftp>
Finally I found time to look on why it wasn't working, I only had the dsa key, I grab the rsa key from git and change the path in the ceph-post-file from dsa to rsa and it works
Thanks
Signature · 2 lines
Yoann Moulin EPFL IC-IT
Quoted 27 lines · Yoann Moulin
Hello,
Quoted 25 lines
Quoted 11 lines
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peerdo I need to set anything on my side to be able to upload file with this command ?
$ ./bin/ceph-post-file test_file args: -- test_file ./bin/ceph-post-file: upload tag eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2 ./bin/ceph-post-file: user: brad@localhost ./bin/ceph-post-file: will upload file test_file sftp> mkdir post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> cd post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> put /tmp/tmp.1biVN9avrx user sftp> put test_file ./bin/ceph-post-file: copy the upload id below to share with a dev:ceph-post-file: eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2
Quoted 8 lines
Quoted 5 lines
You can test connectivity with something like the following.
$ sftp -o "IdentityFile=../share/id_rsa_drop.ceph.com" -C -oCheckHostIP=no -oGlobalKnownHostsFile=../share/known_hosts_drop.ceph.com -oBatchMode=no -oIdentitiesOnly=yes -- [email protected] Connected to drop.ceph.com. sftp>Finally I found time to look on why it wasn't working, I only had the dsa key, I grab the rsa key from git and change the path in the ceph-post-file from dsa to rsa and it works
Ah. Is this hammer or jewel? We should backport the new key.
Thanks!
sage
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 11 lines
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peerQuoted 1 line
do I need to set anything on my side to be able to upload file with this command ?
$ ./bin/ceph-post-file test_file args: -- test_file ./bin/ceph-post-file: upload tag eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2 ./bin/ceph-post-file: user: brad@localhost ./bin/ceph-post-file: will upload file test_file sftp> mkdir post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> cd post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> put /tmp/tmp.1biVN9avrx user sftp> put test_file ./bin/ceph-post-file: copy the upload id below to share with a dev:ceph-post-file: eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2
You can test connectivity with something like the following.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
$ sftp -o "IdentityFile=../share/id_rsa_drop.ceph.com" -C -oCheckHostIP=no -oGlobalKnownHostsFile=../share/known_hosts_drop.ceph.com -oBatchMode=no -oIdentitiesOnly=yes -- [email protected] Connected to drop.ceph.com. sftp>Finally I found time to look on why it wasn't working, I only had the dsa key, I grab the rsa key from git and change the path in the ceph-post-file from dsa to rsa and it works
Ah. Is this hammer or jewel? We should backport the new key.
This is Jewel :
Quoted 11 lines
$ dpkg -S usr/bin/ceph-post-file ceph-common: /usr/bin/ceph-post-file$ grep dsa /usr/bin/ceph-post-file if [[ -f ../share/known_hosts_drop.ceph.com && -f ../share/id_dsa_drop.ceph.com ]] ssh_key=../share/id_dsa_drop.ceph.com ssh_key=/usr/share/ceph/id_dsa_drop.ceph.com [Default: /usr/share/ceph/id_dsa_drop.ceph.com]$ dpkg -l | grep ceph-common ii ceph-common 10.2.2-1xenial amd64 common utilities to mount and interact with a ceph storage cluster
Signature · 2 lines
Yoann Moulin EPFL IC-IT
http://tracker.ceph.com/issues/17787
Quoted 55 lines · Yoann Moulin
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
Quoted 11 lines
I tried to upload files with ceph-post-file but got "Permission denied (publickey)."
Quoted 7 lines
$ ceph-post-file 17180.tgz args: -- 17180.tgz /usr/bin/ceph-post-file: upload tag 60a84fdd-b9e9-42cb-817e-5a90e0f9bcf0 /usr/bin/ceph-post-file: user: yoann@kveikur /usr/bin/ceph-post-file: will upload file 17180.tgz Permission denied (publickey). Couldn't read packet: Connection reset by peerQuoted 1 line
do I need to set anything on my side to be able to upload file with this command ?
$ ./bin/ceph-post-file test_file args: -- test_file ./bin/ceph-post-file: upload tag eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2 ./bin/ceph-post-file: user: brad@localhost ./bin/ceph-post-file: will upload file test_file sftp> mkdir post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> cd post/eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2_brad@localhost_38cc969c-04af-4d5b-b862-ec9d594d3a3c sftp> put /tmp/tmp.1biVN9avrx user sftp> put test_file ./bin/ceph-post-file: copy the upload id below to share with a dev:ceph-post-file: eedc0ac6-a2fa-45d5-8fe1-8f7548da3bb2
You can test connectivity with something like the following.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
$ sftp -o "IdentityFile=../share/id_rsa_drop.ceph.com" -C -oCheckHostIP=no -oGlobalKnownHostsFile=../share/known_hosts_drop.ceph.com -oBatchMode=no -oIdentitiesOnly=yes -- [email protected] Connected to drop.ceph.com. sftp>Finally I found time to look on why it wasn't working, I only had the dsa key, I grab the rsa key from git and change the path in the ceph-post-file from dsa to rsa and it works
Ah. Is this hammer or jewel? We should backport the new key.
This is Jewel :
Quoted 11 lines
$ dpkg -S usr/bin/ceph-post-file ceph-common: /usr/bin/ceph-post-file$ grep dsa /usr/bin/ceph-post-file if [[ -f ../share/known_hosts_drop.ceph.com && -f ../share/id_dsa_drop.ceph.com ]] ssh_key=../share/id_dsa_drop.ceph.com ssh_key=/usr/share/ceph/id_dsa_drop.ceph.com [Default: /usr/share/ceph/id_dsa_drop.ceph.com]$ dpkg -l | grep ceph-common ii ceph-common 10.2.2-1xenial amd64 common utilities to mount and interact with a ceph storage cluster--
Yoann Moulin
EPFL IC-IT
Signature · 2 lines
Cheers, Brad