简体   繁体   English

Mininet 的 SSH 权限被拒绝

[英]SSH Permission denied for Mininet

I am new to SDN and was trying to learn Mininet.我是 SDN 的新手,正在尝试学习 Mininet。 I have installed debian(64-bit) and Mininet on Virtual Box.我已经在 Virtual Box 上安装了 debian(64 位)和 Mininet。 When I try to connect Mininet Vm from Debian I have to run the following comamnd :当我尝试从 Debian 连接 Mininet Vm 时,我必须运行以下命令:

ssh -X mininet@10.0.2.15 

It asks for mininet password, but after entering the default mininet password it shows an error它要求输入 mininet 密码,但在输入默认 mininet 密码后显示错误

Permission denied please try again

Both my debian and Mininet VM have same IP address.我的 debian 和 Mininet VM 都有相同的 IP 地址。 Kindly guide how to eliminate the SSHerror.请指导如何消除SSHerror。 Also is it fine having same ip address for two different VM, is the SSH error a result of this ?两个不同的 VM 使用相同的 IP 地址也可以,SSH 错误是否由此导致? Thanks谢谢

网络选项卡下的VirtualBox设置中,依次单击高级端口转发并添加名称为:ssh、协议:tcp、主机端口:3022 和来宾端口:22 的规则。然后执行:

sudo ssh -p 3022 mininet@10.0.2.15

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM