Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes

scp returns "unexpected <newline>" error

[ -z "$SSH_TTY" ] && return This line on top of my ~/.zshrc (or ~/.bashrc) file, fixies the problem. The point is if are not a login tty, skip all personalized login stuff.
Bernardo Loureiro's user avatar

Top 50 recent answers are included