sreen session and scp
Ulf Rompe
Ulf.Rompe at icem.com
Mon Jan 19 06:45:10 UTC 2009
Am Samstag, den 17.01.2009, 13:20 +0100 schrieb Alain Muls:
> I have a number crunching PC on which I login remotely. I modified
> the .bashrc on the server so that I login into an existing screen
> session or a new one is created.
> If I want to scp a file over to the server, I now get the error that
> "should be connected to a terminal". How can I modify the .bashrc on
> the server so that it still logins to a screen session but allows to
> scp over files.
Changing the screen invocation in your .bashrc to something like this
should help:
if [ -n "$PS1" -a "$TERM" != "screen" ]; then
screen -xRR
fi
[x] ulf
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the ubuntu-users
mailing list