Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] Maintain environment variables when SSHing between nodes

Vince Lehman (vslehman) vslehman at
Thu Oct 29 08:11:14 PDT 2015

Hi all,

I am running sshd on each host in my Mininet topology and am trying to SSH into a node from another node and execute a command. I used this example to run sshd on each host (

Currently, each node is configured with environment variables and privateDirs unique to itself. If I issue commands through the Mininet CLI, the commands respect these configured environment variables and privateDirs. But, If I SSH into a node and issue a command, these environment variables and privateDirs are not set; I assume the login sources the user’s default environment variables.

Is there anyway to maintain the environment variables and privateDirs configured in Mininet when SSHing into a node in Mininet?

Thanks in advance for any help or suggestions you can provide.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the mininet-discuss mailing list