bashrc and .profile for password-less ssh
Tom H
tomh0665 at gmail.com
Thu Sep 2 16:25:07 UTC 2010
On Thu, Sep 2, 2010 at 11:41 AM, shantanu pavgi <shantanu.uab at gmail.com> wrote:
>
> I am having some issue in executing in setting values in .bashrc file on ssh
> based command execution. If I log in using SSH then bashrc is sourced and
> settings in it work. But following doesn't work and returns no value:
> inode:~ shantanu$ ssh 192.168.174.129 "echo $CATALINA_HOME"
Try
ssh 192.168.174.129 -t "echo $CATALINA_HOME"
More information about the ubuntu-users
mailing list