fx sftp

invoke sftp with the build ssh config

usage: fx sftp <arguments to sftp> This command invokes sftp (one of SSH's file copy tools) with Fuchsia's SSH configuration. Run "sftp -h" to see the options that sftp accepts. Example usage: fx sftp "[$(fx get-device-addr)]:source_file" dest_file 

sftp source code