VMware Cloud Community
FedericoAlves
Contributor
Contributor

How do I conect via SSH to the host and upload files via scp???

The ESXi free offering has a problem that I have not been able to understand. How do I connect via ssh to the host, or use scp to upload files? It does not work as is. It seems that the SSH damon is down. I need to upload the ISO files or virtual machine files. This question seems stupid, but checked all the menus and I cannot find the answer.

Tags (2)
Reply
0 Kudos
13 Replies
weinstein5
Immortal
Immortal

You have to rememebr that ESXi does not have the Service Console so you will not be able to SCP to it - you can either Install the Remote CLI Virtual appliance or I believe you can use the file manager in the VI Client to upload to your host

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
desh_thomson
Contributor
Contributor

As a matter of fact, you can. Check this link

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

As posted you can use vifs.pl from teh RCLI or the datastore browser to copy files to and from the host. You can run scp at the console (unsupported) and you can also enable SSH (unsupported - http://www.vm-help.com/esx/esx3i/ESXi_enable_SSH.php).

Reply
0 Kudos
FedericoAlves
Contributor
Contributor

I followed the instructions, rebooted the server, and still it does not let me enter the server via ssh. It seems that it has a firewall active. Any ideas how can we us ethe client file manager to upload files?

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

You don't need to make any firewall changes to allow SSH. I'd double check that the file was changed successfully.

For uploading files via the click, right click on the datastore and select browse (see image). In the browser window you'll have icon to upload / download files.

Reply
0 Kudos
FedericoAlves
Contributor
Contributor

I think it is insane that there is no SSH access for this product. Unless they use another port than 22. Can somebody confirm this? Also, how do I convert XEN virtual machines to work with ESXi? Did anybody think about that? Furthermore, I have a machine with 16 cores (4 processors with 4 cores each) Am I going to be able to use all these cores in a linux virtual machine? Is there any restriction on Virtual SMP?

Reply
0 Kudos
fejf
Expert
Expert

There's a restriction of 4 vCPUs per VM.

--

There are 10 types of people. Those who understand binary and the rest. And those who understand gray-code.

-- There are 10 types of people. Those who understand binary and the rest. And those who understand gray-code.
Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

No it is port 22 - what SSH client are you using? I've heard that FastSCP won't work with it. The intent in removed SSH is to provide a more secure product and you can manage it with the RCLI (although that's not 100% yet - it will be with 4.0).

In a single virtual machine, you'll only be able to have up to 4 virtual CPUs which in turn would only ever max out 4 physical CPU cores.

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

Have you looked at VMware Converter for migrating your VMs. With this tool www.sanbarrow.com/moa you can build a cold clone CD.

Reply
0 Kudos
FedericoAlves
Contributor
Contributor

Is there a paid version where a virtual machine can have any guest-supported cpus? My application is a softswitch where I need more tha 4 procs. Please let me know what do I have to buy. in XEN, I can have up to 8 VCPU's pero VM.

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

With any version of ESX / ESXi the current limit is 4 virtual CPUs.

Reply
0 Kudos
FedericoAlves
Contributor
Contributor

I am using putty.exe from windows. I can connect to any linux box, but this one does not even ask me for a username/password.

Reply
0 Kudos
coronaXPP
Contributor
Contributor

FYI, I followed the steps at http://www.vm-help.com/esx/esx3i/ESXi_enable_SSH.php

I didn't get SSH access after I try the " /sbin/services.sh restart " command. Therefore, I tried

"ps |grep inet" and did a " kill -HUP " . Wola, ssh is up.

Reply
0 Kudos