Portal Home > Knowledgebase > Articles Database > rsync "stdin: is not a tty" error


rsync "stdin: is not a tty" error




Posted by sharmaine1111, 03-05-2010, 05:44 AM
I am trying to rsync from one server to another but i am getting error "stdin: is not a tty" I am able to do this before on different servers, but for these 2 servers im trying to pair, it just wont work Any help?

Posted by madaboutlinux, 03-05-2010, 05:53 AM
Is there any sort of restrictions on both the servers with respect to SSH? And can you paste the exact command you are using?

Posted by sharmaine1111, 03-05-2010, 05:55 AM
rsync -az --rsh='ssh -p22' root@1.2.3.4:/home/temp /home/newtemp No there is no restriction of some sort in SSH. However the remote server is a VPS.

Posted by madaboutlinux, 03-05-2010, 06:02 AM
VPS won't be problem unless you have root access to it. Try the following command instead: Also check the server logs and see if you receive any error message there?

Posted by sharmaine1111, 03-05-2010, 06:19 AM
no luck. still getting message

Posted by madaboutlinux, 03-05-2010, 06:30 AM
Nothing in the server logs? BTW, is there anything additional in files /root/.bashrc OR /root/.bash_profile compare to the ones you have on the servers where rsync is working fine?

Posted by sigma, 03-05-2010, 01:17 PM
You have some kind of stty command in your .login or .cshrc or other startup file that is being executed by the non-interactive shell and causing that error. Kevin



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Power Reseller Scripts (Views: 687)


Language: