VMware Cloud Community
SebastiaNet
Contributor
Contributor

can SSH and SCP from ESX Server 3, cant from ESX Server 4

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.

0 Kudos
6 Replies
SebastiaNet
Contributor
Contributor

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

0 Kudos
SebastiaNet
Contributor
Contributor

Solution (via Google) :

start vSphere Client

select Server

Open Configuration

Under Software, expand Security Profile

Activate SSH Client

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

Enjoy. Sebastian.

0 Kudos
vcpguy
Expert
Expert

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

----------------------------------------------------------------------------- Please don't forget to reward Points for helpful hints; answers; suggestions. My blog: http://vmwaredevotee.com
SebastiaNet
Contributor
Contributor

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.

0 Kudos
AWo
Immortal
Immortal

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!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
SebastiaNet
Contributor
Contributor

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.

(Smiley Wink)

0 Kudos