Roland RoLaNd wrote: > Hello, > i've appended the below to /etc/bashrc, which is causing an error once i > try to rsync using ssh to this specific box. > any idea how to prevent bashrc to execute the below to a no login shell > ? or any other advice for that matter. you might try putting your block of code in: if [ -n "$PS1" ] ; then <your code> fi this way it's only executed in interactive shells.