Hi, I tried adding my environmental variables in /etc/bashrc,/etc/profile,/root/.bash_profile. But none of them makes the added environmental variables to libbssh2 session.
Now, I "source" the environmental variables from a file through libssh2 and using it in that particular session. But some variables may not be available to us which will be referred from the target system. Where I can add those environmental variables so that those variables will be to the libssh2 sessions? I am using libssh2 in Windows and the target system is linux which has CentOS. -- Regards, Kali
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel