Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-8976

[RFE] Ability to configure kvm compute resource via a non-standard ssh port

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • None

      Description of problem:

      Customer would like to configure kvm compute resource via a non-standard ssh port. Currently its looks like its binded on port 22.

      Version-Release number of selected component (if applicable): 6.4

      Additional info:

      Trying to configure compute resource on non-standard ssh port fails with the below error.

      Unable to save
      Error making a connection to libvirt URI qemu+ssh://root@192.168.122.1:2222/system: Call to virConnectOpen failed: Cannot recv data: ssh: connect to host 192.168.122.1 port 2222: Permission denied: Connection reset by peer

      We have also tried to Configure Custom Connection Options by putting the below entry in .ssh/config:

      Host home
      HostName kvm.example.com
      User root
      Port 2222

      and with the below url:

      qemu+ssh://root@192.168.122.1/system

      But it still fails that its not able to connect to port 2222. A tcpdump on the satellite shows that the satellite is still trying to connect to port 22. So it looks like this configuration is hard coded somewhere.

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: