Skip to content

[bug] pivot.ssh_copy can't create file #917

@hulto

Description

@hulto

Describe the bug

$> pivot.ssh_copy("10.52.0.102", 22, "/tmp/golem-deploy", "/tmp/golem-deploy", "sysadmin", "*****", timeout=5)
"Failed to run handle_ssh_copy: No such file: No such file"

$> file.list("/tmp/golem-deploy")
[{"file_name": "golem-deploy", "absolute_path": "/tmp/golem-deploy", "size": 18195504, "owner": "kali", "group": "1001", "permissions": "100664", "modified": "2025-05-03 00:33:18 UTC", "type": "File"}]

# touch /tmp/golem-deploy

$> pivot.ssh_copy("10.52.0.102", 22, "/tmp/golem-deploy", "/tmp/golem-deploy", "sysadmin", "****", timeout=5)
"Sucess"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingeldritchRelated to the Eldritch language

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions