Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Custom SSH Port while using ovztransfer.sh



Threaded Mode | Print  

 Custom SSH Port while using ovztransfer.sh, ovztransfer.sh with custom SSH ports (2 Replies, Read 1693 times)
Vinayak
Group: Member
Post Group: Newbie
Posts: 20
Status:
Any idea?

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

IP: --   

Custom SSH Port while using ovztransfer.sh
Vinayak
Group: Member
Post Group: Newbie
Posts: 20
Status:
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"
IP: --   

Custom SSH Port while using ovztransfer.sh
ambergandotra
Group: Member
Post Group: Newbie
Posts: 2
Status:
this is really great.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 1:38 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.021