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] Enabling SSH in mininet

Gregory Gee gee.developer at
Wed Dec 4 19:07:31 PST 2013

  The sshd is probably not running in each host.  Take a look at this 


On 04/12/2013 7:23 PM, Leo Osvald wrote:
> Hi folks,
> I'm running mininet on Linux 3.2 (Ubuntu 12.04) and having some issues 
> with SSH between the virtual hosts.
> It seems every attempt to establish an SSH connection between virtual 
> hosts on port 22 fails.
> I know that I can simply execute commands on remote virtual hosts 
> like: "h1 ping" or in general "h<n> <cmd>".
> However, I need to make SSH work since I want to run existing programs 
> which communicate over SSH, for example:
> some_prog /path/on/h1 ssh://
> Here are some outputs that might be useful:
> mininet> h1 ssh -v -v -v h2
> OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
> Pseudo-terminal will not be allocated because stdin is not a terminal.
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to [] port 22.
> debug1: connect to address port 22: Connection refused
> The above is when mininet is run as super-user (root). I also tried 
> logging in with my own username to h1's xterm and executing:
> ssh -v -v -v
> but the error is the corresponding output looks the same.
> Any ideas how can I make ssh working in mininet?
> Thanks,
> Leo
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at

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

More information about the mininet-discuss mailing list