VMware Cloud Community
mj1077
Contributor
Contributor

issue with scp - ssh

Hi, need a help on scp

I'm trying copy files bet'n ESX servers, but getting "ssh: connect to host w.x.y.z port 22: Connection refused, lost connection". ssh is enabled on both of the servers (diff subnet/location), even firewall rule is also setup with allow. Root is also allowed on ssh.

Syntex is also correct "scp filename root@IP:/vmfs/volumes/ds/"

I'm wondering as getting this error even when trying to copy files bet'n two servers in same subnet.

BTW, on source server do I need to enable ssh outboud, if so, how? I already enabled ssh client as well.

I'm runnuing ESX3.5 U2

Thanks in advance for your help!

Reply
0 Kudos
1 Reply
mj1077
Contributor
Contributor

I fixed it, thanks.....My outbound was turned off, which I did open on source.

Smiley Happy

Reply
0 Kudos