> When you run ssh without a command to run on the remote host, it will run
> the login command by default, and you get your .profile and .bashrc run.
> But when you specify a command to run, ssh will run that command /instead/
> of login, so you don't get .profile or .bashrc. Something to keep in mind
> so as to not shoot yourself in the foot.

That's not what I noticed.  I think .bashrc is getting run.

I did the following test: ssh myhost set

and a bunch of variables showed up that I am setting only in my .bashrc.

-- 
Phillip Hellewell <[EMAIL PROTECTED]>

Attachment: pgpCEkzWElcRZ.pgp
Description: PGP signature

_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to