SSH, eth1, telnet to the Guest- OK; Putty connection refused

Discussions related to using VirtualBox on Windows hosts.
Post Reply
rhombus80
Posts: 2
Joined: 30. Sep 2015, 17:40

SSH, eth1, telnet to the Guest- OK; Putty connection refused

Post by rhombus80 »

Hello.
Host: windows 7; Guest: Debian GNU/Linux 8 – only CLI, no GUI. Guest Additions installed

SSH works, I may connect it from the Guest:
$ssh 127.0.0.1
It is listening all IPs on port 22:
ss -nlput | grep sshd
.. *:22

I have created eth1 interface (Host Only).
And I added to /etc/network/interfaces strings :
"auto eth1
iface eth1 inet static
address 192.168.56.10
netmask 255.255.255.0"

so
$ifconfig
…eth1
Inet addr: 192.168.56.10

I can ping this IP address from the Host, and telnet 192.168.56.10 22
opens a telnet session window with “SSH-2.0-OpenSSH_6.7p1 Debian 5”

But Putty gets “Network error: connection refused”

Any ideas?
Biite
Posts: 13
Joined: 22. Nov 2014, 22:01
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: SSH, eth1, telnet to the Guest- OK; Putty connection ref

Post by Biite »

Firewall?
rhombus80
Posts: 2
Joined: 30. Sep 2015, 17:40

Re: SSH, eth1, telnet to the Guest- OK; Putty connection ref

Post by rhombus80 »

Biite wrote:Firewall?
Firewall turned off. It looks like Putty's problem - I tried another Windows SSH - client "Plink", it works.
Post Reply