[clug] ssh to box, run shell command, then leave shell open?

Carlo Hamalainen carlo.hamalainen at gmail.com
Thu Apr 14 23:46:13 MDT 2011

On Fri, Apr 15, 2011 at 3:37 PM, Adam Thomas <adam.lloyd at gmail.com> wrote:
>> $ ssh someone at remotebox
>> $ source lots_of_dev_variables.sh
>> $ cd /projects/blah/blah/blah
>> (then I do stuff in the shell)
> You could add the 2nd two steps to your .bash_profile (on the remote
> box), which will mean that they get run when you login.

Since various people work on this account, I'd need the remote box's
bash_profile identify that it is indeed me logging in via ssh. Is that

Carlo Hamalainen

More information about the linux mailing list