Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: “STDIN: IS NOT A TTY” ERROR  (Read 2695 times)

0 Members and 1 Guest are viewing this topic.

dustin

  • Guest
“STDIN: IS NOT A TTY” ERROR
« on: August 13, 2014, 07:35:39 am »
Got the following error while trying to copy some files from one server to another with rsync.

To fix this,

1.Login to your server where you wish to run rsync
2.If you are root the got to /root dirctory. if you are logging in as another user go to home directory of that user which usually at /home/username.
3.Edit a file named .bashrc
4.Now add these lines below to the top of your .bashrc file:
[ -z "$PS1" ] && return
5.Then save file and quit.

Now you can rsync without any issue.