cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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

LJRB
Graph Buddy

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 ?

1 ACCEPTED SOLUTION
2 REPLIES 2

Hello,

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

Thank you for your answer