Skip to content

vast copy is broken #326

Description

@thandal

Using the latest version

wget https://raw.githubusercontent.com/vast-ai/vast-python/master/vast.py
chmod +x vast.py

I can't copy from a running instance, for example (all ports, ip addresses, etc, have been anonymized):

$ vast.py copy 55555555:/root/logdir local:logdir
copying 55555555:/root/logdir local:logdir
rsync -arz -v --progress --rsh=ssh -e 'ssh  -p 48888 -o StrictHostKeyChecking=no' vastai_kaalia@155.55.55.111::55555555//root/logdir logdir
Enter passphrase for key '/home/user/.ssh/id_rsa': 
@ERROR: Unknown module '55555555'
rsync error: error starting client-server protocol (code 5) at main.c(1863) [Receiver=3.2.7]

But if I munge the rsync command using the SSH ports from the web interface, and root@ instead of vastai_kaalia@, and remove the instance id from the remote path, then it works fine:

rsync -arz -v --progress --rsh=ssh -e 'ssh  -p 477777 -o StrictHostKeyChecking=no' root@155.55.55.111:/root/logdir logdir

My machine:

Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.4 LTS
Release:	24.04
Codename:	noble

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions