T
T
Tim32016-02-04 00:03:46
SSH
Tim3, 2016-02-04 00:03:46

SSH access to virtual machine in Hyper-v?

Hello!
Hyper-V has Debian installed, shh is set to port 22, IP 192.168.1.7. Also PermitRootLogin yes.
I downloaded PuTTY, I enter ip and port, but I don’t want to connect, it says Connection refused.
Please tell me how to solve the problem, thanks!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2016-02-04
@Tim3

firewall?
connection from inside Ddebian to port 22 passes? telnet 192.168.1.7 22 ?

T
Tim3, 2016-02-10
@Tim3

The problem was solved by itself, at the next launch hyper-v was able to connect to the machine via ssh. Thanks to all!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question