Re:GNU Screen - A Hacker's Ideal Terminal
by mooism2 on Monday September 28, 2009 @03:14PM
(#849011)
My remote `.bash_profile` ends
screen -d -R
logout
On the rare occasions that I don't want to run under screen, I run `ssh -t user@host bash`.I hope you mean on the server. IIRC, some things like GNOME will source .profile or .bash_profile so that you can have globally customized $PATH,etc variables.
There is no reason why you shouldn't use screen when ssh'ing in and working on remote machines, it will save you tons of time in case the connection goes down, plus allows your to keep a persistent working environment on remote boxes.
That will drop you immediately to a running screen on connect