How copy/download a query.log file located on a VM Enterprise Edition in Azure?

Hello,

I have a Neo4j VM Enterprise in Azure. I would to analyze the query.log file.

So I tried to copy it with scp

PS C:\Users\surname.name> scp -vvv azureuser@ip_vm:/var/log/neo4j/query.log C:\surname.name\Downloads
Executing: program ssh.exe host ip_vm, user azureuser, command scp -v -f /var/log/neo4j/query.log
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug3: Failed to open file:C:/Users/surname.name/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname ip_vm is address
debug2: ssh_connect_direct
debug1: Connecting to ip_vm [ip_vm] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10060, io:...
debug1: connect to address ip_vm port 22: Connection timed out
ssh: connect to host ip_vm port 22: Connection timed out

But doesn't work. I can ssh the VM. But seems like I can't copy files from remote server to local computer.

Is there an alternative to do it ?

@LJRB
doesnt really feel like a Neo4j issue?
Does Use SCP to move files to and from a VM - Azure Virtual Machines | Microsoft Learn provide any benefit

1 Like

Hello,

You are right. It's not really a Neo4j Issue. Seems like my firewall doesn't allow scp.

Thank you for your answer