Conor Schaefer on 1 Aug 2010 11:59:48 -0700 |
I'm really stumped on this one. I'm in the process of moving, and so don't have a static IP to host my home server to make it remotely accessible. I've picked up a Xen VPS account (at prgmr.com/xen) running Ubuntu 10.04 to hold me over in the meantime, and am trying to set it up now. I'm very familiar with rsync and SSH, but I cannot for the life of me get it to play well with my new VPS. When trying to transfer files from my laptop to the VPS via rsync, I get this output: :~$ rsync -e "ssh -l [username]" -avP testfile [servername].prgmr.com:/home/[me]/ sudo: sorry, you must have a tty to run sudo protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c(173) [sender=3.0.7] :~$ This prompted me to read through the rsync man page, which suggests I grab output using /bin/true. I've done that, and the output I get is the Xen menu, offering me options such as create, destroy, exit, etc. Option 1 is "console," which will allow me to log in. So when rsync is met with that shell, it aborts. How can I get around this? I've tried renaming .bashrc and .profile (so that they're not accessible), as the rsync man page suggested, but no luck there. This appears to be caused by the login process to the Xen environment, and I don't understand it well enough to know how, or whether, I can get around that initial login menu and rsync directly to the VPS. If I can't, I don't know how much use this setup will be to me. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|