SSH/SCP/SFTP Environment Variables


Is see the PassEnvironmentVariable method but is there a method to retrieve an Environment Variable other than doing a remote execute command of "echo $VAR" or "env|grep VAR"?



edited 12/3/2017 3:07:16 AM
asked 3/21/2017 8:40:20 PM
add a comment

1 Answers


Dear Mark,

They are the most reliable solution. Internally we also use "echo" commands to retrive the exit code. 

answered 11/16/2017 12:41:37 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ftp sftp or ask your own question.