Custom SSH Port while using ovztransfer.sh


SUBMITTED BY: Guest

DATE: Oct. 1, 2019, 9:36 a.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 359

  1. Custom SSH Port while using ovztransfer.sh
  2. Any idea?
  3. How would you define custom SSH port while using ovztransfer.sh for migrating containers from OpenVZ 6 TO OpenVZ 7, source and destination servers can have different port numbers.
  4. ++++++++++++++++++++++++++++++++++++++++++
  5. If You want to buy cheap web hosting then visit http://Listfreetop.pw and select the cheapest hosting. it can be suitable for all your needs.
  6. Listfreetop.pw
  7. Listfreetop.pw
  8. Listfreetop.pw
  9. +++++++++++++++++++++++++++++++++++++++++++
  10. Well got it
  11. https://wiki.openvz.org/Upgrade_scri...to_Virtuozzo_7
  12. 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"
  13. So, basically script at https://src.openvz.org/projects/OVZL...ovztransfer.sh
  14. Needs to be edited
  15. Line 5
  16. SSH_OPTS=""
  17. Should be edited to
  18. SSH_OPTS="-o Port=2222"
  19. Change 2222 to whatever port you are using.
  20. domain college park
  21. forum picture hosting
  22. inventivehosting.co.uk
  23. domain email address
  24. host error
  25. hosting icon
  26. domain by windsor
  27. trexlist.com
  28. sims 4 make money gardening
  29. gotclicks2.com

comments powered by Disqus