Is there a way I can use $PATH as defined by my bash profile?
- by Adam Backstrom
I spend most of my day ssh'd into servers. I have a series of aliases/functions/scripts that allow me to type p hostname from the terminal and execute GNU screen(1) on the remote side, using the following command:
exec ssh hostname -t 'screen -RD'`
I've only recently noticed that ssh -t does not get my custom $PATH. Here's some terminal output:
…