Softaculous


Topic : Custom SSH Port while using ovztransfer.sh


Posted By: Vinayak on March 17, 2019, 4:42 am
Any idea?

How would you define custom SSH port while using ovztransfer.sh, source and destination servers can have different port numbers.


Posted By: Vinayak on March 17, 2019, 4:59 am | Post: 1
Well got it
https://wiki.openvz.org/Upgrade_script_from_OpenVZ_to_Virtuozzo_7

Quote
If you want to use specific SSH options, make sure to edit the script
and set SSH_OPTS variable correctly. Beware that there are several SSH
calls and one SCP call for which these options are used as well,
so you must choose arguments format that works with both programs. For
example, if you want to use a different port, you can't use "-p 2222",
because that works for SSH but not for SCP (for scp it's equivalent
argument is -P - capital P). It's best to use -o ssh_option=value format
that works with both programs, for example "-o Port=2222"

Posted By: ambergandotra on April 19, 2020, 10:05 am | Post: 2
this is really great.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.