VMware Cloud Community
johnabraham
Enthusiast
Enthusiast
Jump to solution

how to scp the iso from one ESXi5.1 host to another ESXi5.1?

Hi friends

I've enabled SSH on both the Hosts. they both are part of vCenter Server also.

when i am trying to execute:

scp /vmfs/volumes/datastore1/OS/CentOS-6.4-x86_64-bin-DVD1.iso root@192.168.1.2:/vmfs/volumes/datastore/1/OS/

it is telling that:

ssh: connect to host 192.168.1.2 port 22: connection times out

so what should i do can  anyone guide me?

thanks

1 Solution

Accepted Solutions
SatyS
Hot Shot
Hot Shot
Jump to solution

Just check whether your firewwall is blocking the ssh.

To enable sshClient to enable copying using ssh:

# esxcli network firewall ruleset set –ruleset-id sshClient –enabled yes

To refresh the configuration:

# esxcli network firewall refresh

Hope this helps!!!

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/

View solution in original post

3 Replies
SatyS
Hot Shot
Hot Shot
Jump to solution

Just check whether your firewwall is blocking the ssh.

To enable sshClient to enable copying using ssh:

# esxcli network firewall ruleset set –ruleset-id sshClient –enabled yes

To refresh the configuration:

# esxcli network firewall refresh

Hope this helps!!!

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/
zXi_Gamer
Virtuoso
Virtuoso
Jump to solution

Yup.. firewall needs to be allowed or disabled. TO allow, follow SatyS advice. To disable it, esxcli network firewall unload.

johnabraham
Enthusiast
Enthusiast
Jump to solution

thanks a lot friends..

Reply
0 Kudos