ESXi

 View Only
  • 1.  can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 27, 2010 01:58 PM

    Hello - I have a strange situation

    We have a ESX server with ESX version 3 (Dali) and 2 servers with ESX version 4 (Kandinsky).

    I can "SSH server_version_4" without problem from ESX version 3 server, and I am requested the password to start it.

    Also "SCP localfile remote_user@server_version_4:." works without problem.

    This indicates SSHD works on version 4 server(s).

    But if I try SSH or SCP from one version 4 server, (to either version 3 or 4 destination)

    the connection is not established, getting "port 22: Connection refused" message.

    How can I enable (incoming/outgoing) SSH and SCP on ESX version 4 ?

    Thanks a lot. Sebastian.



  • 2.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 27, 2010 02:00 PM

    PD.- I am never using "root" user for those connections, and dont want to do it.



  • 3.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 27, 2010 02:11 PM

    Solution (via Google) :

    start vSphere Client

    select Server

    Open Configuration

    Under Software, expand Security Profile

    Activate SSH Client

    ==============================

    Enjoy. Sebastian.



  • 4.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 27, 2010 05:00 PM

    OR from command line in ESX Server please type

    esxcfg-firewall -e sshClient --> this will enable the SSH Client

    to save this configuration please type - service mgmt-vmware restart - After this evern across the reboot you will be able tossh

    Thanks



  • 5.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 28, 2010 10:08 AM

    Yes, I like the command like a lot, but I agree I haven't had the time to go in deep thru all of those commands and flags.

    Thanks a lot : this one shall be (maybe) the starting point to do so !

    Sebastian.



  • 6.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 28, 2010 10:33 AM

    Beside opening the firewall port remeber that "root" is not allowed to log on via ssh in ESX4 by default anymore. Either you create a proxy user or you change the "/etc/sshd_config".


    AWo

    VCP 3 & 4

    \[:o]===\[o:]

    =Would you like to have this posting as a ringtone on your cell phone?=

    =Send "Posting" to 911 for only $999999,99!=



  • 7.  RE: can SSH and SCP from ESX Server 3, cant from ESX Server 4

    Posted Jan 28, 2010 10:46 AM

    As I said earlier on this thread, I dont want o use root ar remote user, and I think it is a very very bad habit.

    (:smileywink:)