Re: SSH from QEMU virtual host to host system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-08-17 11:18, Robert Moskowitz wrote:
>
>
> On 8/16/20 10:50 PM, Sam Varshavchik wrote:
>> Robert Moskowitz writes:
>>
>>> I am trying to SSH from my virtual image to the host system and get connection refused.
>>>
>>> I have tried connecting to the systems' IP addr and the gateway IP addr for the virtual host.  Still connection refused.
>>>
>>> I can SSH to my host from another with no trouble.
>>>
>>> What am I missing?
>>
>> 1) Ping your host's IP address from the VM.
>
> Pinging works fine.
>
>>
>> 2) Assuming it's pingable, look into what firewalld says, about the ssh port, and what IP addresses it's accessible from.
>
> # firewall-cmd --list-all
> public (active)
>   target: default
>   icmp-block-inversion: no
>   interfaces: wlp1s0
>   sources:
>   services: dhcpv6-client ipp ipp-client mdns
>   ports: 745/tcp
>   protocols:
>   masquerade: no
>   forward-ports:
>   source-ports:
>   icmp-blocks:
>   rich rules:
>
> SSH is on port 745 (well not 745, but off 22).  I did the selinux command to allow ssh on this port and I can access from another system no trouble.
>

What is the output of "firewall-cmd --get-active-zones"


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux