code: def scp_file(file, ip, path, ssh_key=None):
      """scp file to remote machine"""
      if ssh_key is None:
          scp_cmd_str = "scp %s %s:%s" % (file, ip, path)
      else:
          scp_cmd_str = "scp -i %s %s %s:%s" % (ssh_key, file, ip, path)
  
      return scp_cmd_str
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/dist_train.py
imports: import os
  import stat
  import sys
  import subprocess
  import argparse
  import socket
  from .utils import CommonArgParser
label_desc: Use image node_id 7 for calling a global function with example usage: scp_file(file, ip, path, ssh_key) and returns: scp_cmd_str