you didn't include the command you used.. so I don't now what you typed.

but rsync require 2 extra parameters (which i assumde you will know.. haha,
sorry)

source and destination!

so try this

rsync -e 'ssh -p 2222'   file  vagrant@localhost:/tmp

where file is any file




On Thu, May 1, 2014 at 3:45 AM, Ian Anderson Gray <[email protected]>wrote:

> Hmmm,
>
> I'm still encountering some issues.
>
> I do have rsync installed on the host and guest machines.
>
> I can connect to my guest machine- vagrant ssh works fine.
>
> I then did the following:
>
>> vagrant up
>> vagrant ssh-config
>>
>
> I then see the following:
>
> Host default
>>   HostName 127.0.0.1
>>   User vagrant
>>   Port 2222
>>   UserKnownHostsFile /dev/null
>>   StrictHostKeyChecking no
>>   PasswordAuthentication no
>>   IdentityFile C:/Users/IanAnderson/.vagrant.d/insecure_private_key
>>   IdentitiesOnly yes
>>   LogLevel FATAL
>>   ForwardAgent yes
>
>
> Since the port is 2222, I then did:
>
> ssh -p <port> vagrant@localhost
>
>
> I then get prompted for the password like this:
>
> Warning: Permanently added '[localhost]:2222' (RSA) to the list of known
>> hosts.
>> vagrant@localhost's password:
>
>
> I wasn't sure what password I was supposed to put in there, but the
> password *vagrant* seems to work.
>
> You then say use this command: "rsync -e 'ssh -p <port>' vagrant@localhost
> "
> I assume this is again from the Windows command prompt. I get the
> following error message:
>
> rsync: link_stat
>> "/cygdrive/c/Users/IanAnderson/Documents/Sites/Vagrants/Primary-Vagrant/vagrant@localhost"
>> failed: No s
>> uch file or directory (2)
>> rsync error: some files/attrs were not transferred (see previous errors)
>> (code 23) at main.c(1039) [sender=3.0.6]
>
>
>
> Any thoughts?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to