Page 1 of 1

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

Posted: 30. Sep 2015, 17:43
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?

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

Posted: 30. Sep 2015, 19:36
by Biite
Firewall?

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

Posted: 30. Sep 2015, 23:57
by rhombus80
Biite wrote:Firewall?
Firewall turned off. It looks like Putty's problem - I tried another Windows SSH - client "Plink", it works.