Search Results

Search: Posts Made By: suraj.sheikh
2,572
Posted By ahamed101
Source the profile and then execute... ssh...
Source the profile and then execute...
ssh username@host ". ~/.profile; /path/to/your/executable"
--ahamed
2,735
Posted By Corona688
You have to make your shell send a literal $ to...
You have to make your shell send a literal $ to the other end to use variables. That means putting things in single quotes, where the shell isn't allowed to substitute by itself.

One layer of...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy