24.října 2013

PC a internet Konfigurace FTPS (FTP over SSL) na Windows

Pokud je na Windows potřeba zajistit automatický (scriptovaný) zabezpečený přenos souboru z místa na místo, je možno to udělat njednoduše pomocí FTPS (FTP over SSL) takto:

Server

  • Nejprve je třeba rozjet FTPS server na klientovi. Podpora je od Windows 2008 (R2?). Je třeba nainstalovat roli IIS s komponentou FTP.
  • Vygenerovat v IIS certifikát, který bude použit pro SSL připojení. (Server - Server Certificates - Create Domain Certificate)
  • Vytvořit nový FTP server a zaškrtnout Require SSL connection a vybrat vygenerovaný certifikát. (Následně je schovaná pod ikonou FTP SSL Setting.) Potom standardně v FTP Autorization Rules nezapomenou oprávnění pro uživatele.
  • Vyzkoušet lze třeba přes Total Commander po dokopírování dvou knihoven z OpenSLL (poradí Total Commander při pokusu o nastavení).
  • Pro pasivní připojení za NATem je potřeba nastavení serveru nastavit v FTP Firewall Support vaši veřejnou IP adresu a rozsah portů, přes které se budou posílat data. Rozsah portů musí být tak velký, kolik souběžných připojení maximálně čekáváte.
  • Při změně konfigurace FTP (hlavně rozsahu portů pro data) je třeba restartova službu Microsoft FTP service.

Client - WinSCP

  • Stáhnout a nainstalovat WinSCP.
  • Přes GUI lze potom použít stejně jako Total Commandera WinSCP.exe, kde je třeba nastavit FTP a šifrování SSL Explicitní šifrování.
  • Přes příkazovou řádku lze vyzkoušet v WinSCP.com.

Scriptování FTPS v WinSCP

Pro scriptování se použije syntaxe WinSCP.exe /script="soubor.txt", kde pro připojení, upload souboru a odpojení může soubor.txt vypadat následovně:

open ftps://user:password@ftp.exapmle.cz -explicitssl
option transfer binary
put c:\file.bin
close
exit

Možné problémy

Pokud končí připojení příkazem 227 Entering Passive Mode (166,37,128,66,10,109), znamená to, že se pokoušíte připojit na datovém portu 10*256+109=2669 a tento port nemáte povolený (buď na FTP, nebo na NATu nebo na Firewallu.


Hledáte-li správce sítě nebo prostě nekoho kdo umí spravovat servery, hledejte na www.petr-hladis.cz

Přečteno: 5511x | Komentářů: 29x | Kategorie: PC a internet

Komentáře čtenářů

1. GRAVATAR - luisaschelangdarenst82@gmail.comRicharddeevy3. 8. 2022 3:22:00
https://bit.ly/3NEsRGW , zoominfo competitors - zoominfo competitors: , how to record zoom meeting without permission free with audio , zoom background images free - zoom background images free:
<a href=https://bit.ly/3aHheAr>how to put meeting id in zoom - none: </a> , can i get zoom on hp laptop - none: , zoom link won't open in app - none:
<a href=https://bit.ly/3Hcxo0H> how do car alarms work </a> , why did zoom stock go up - why did zoom stock go up: , what is good upload speed for zoom - none:
zoominfo careers , why are zoom shares falling - why are zoom shares falling: , how do i share my personal zoom link - how do i share my personal zoom link:

https://bit.ly/3QaCHBL , how to check if sound is working on zoom - none: , zoom network troubleshooting - zoom network troubleshooting: , change display size on windows 10
<a href=https://bit.ly/3mvLzEx>how to open my camera in zoom </a> , zoom para pc online - none: , how do i know if i'm blocked on zoom - none:
<a href=https://bit.ly/3zuXdr9> best wireless outdoor security camera canada </a> , how to screen mirror zoom on apple tv , cara claim host zoom


https://newsfrom7fannadibad1.blogspot.com/2022/07/download-zoom-meeting-recording.html
<a href=https://newsfrom013placisimkico.blogspot.com/2022/07/how-to-set-up-zoom-on-laptop.html> sharechat video download free love status - sharechat video download free love status: </a> , how do i join a zoom meeting from an email link , how much data does zoom meeting
<a href=https://newsfromsculaminehm.blogspot.com/2022/07/download-center-zoom_02071159964.html>how to create a zoom meeting and share link - none: </a> , can i run two zoom meetings at once , how do i make my zoom camera not inverted


https://newsfrom2lisnacunuo0.blogspot.com/2022/07/why-is-my-zoom-meeting-not-responding.html
<a href=https://newsfromvoviacoo2j.blogs
2. GRAVATAR - Teclilk@newonlinemail.xyzAudiple1. 9. 2022 5:00:00
<a href=http://cialisfstdelvri.com/>where to buy cialis online</a> In this study, the effect of tadalafil 5mg daily treatment on ejaculation time, erectile function and lower urinary tract symptoms was investigated in patients diagnosed with ED

Reklama ETARGET:

3. GRAVATAR - Nalmabalk@newonlinemail.xyzNalmabalk3. 9. 2022 9:23:00
<a href=http://buypriligyo.com/>priligy where to buy</a> Where to Buy Viagra and Cialis in New York
4. GRAVATAR - rerwhonry@newonlinemail.xyzrerwhonry5. 9. 2022 8:13:00
<a href=https://vtopcial.com/>buy cialis online</a> Pacco Prezzo Per Pillola Risparmio Bonus 20mg x 4 pillole 39
5. GRAVATAR - Floague@newonlinemail.xyzFloague7. 9. 2022 10:10:00
We invite you to share your own choices, and join the conversation about other buildings that shaped and continue to shape American life <a href=https://cheapcialiss.com/>buy cialis pills</a> Decided to try taking it in the morning instead so waited till Monday morning
6. GRAVATAR - SaulaHoox@newonlinemail.xyzSaulaHoox10. 9. 2022 8:10:00
1993; 59 1153 6. <a href=https://clomida.com/>clomid for.men</a> Oocytes were live-birth and options first steps in general ivf.
7. GRAVATAR - SotoEnted@newonlinemail.xyzSotoEnted13. 9. 2022 10:05:00
I have severe endometriosis and have had two laps and been trying for five years. <a href=https://tamoxifenolvadex.com/>common side effects tamoxifen</a>

Reklama ETARGET:

8. GRAVATAR - Geargenal@newonlinemail.xyzGeargenal17. 9. 2022 14:14:00
<a href=https://buydoxycyclineon.com/>dog doxycycline</a> Health care professionals can treat these types of bladder problems with medicines, behavior changes, or both.
9. GRAVATAR - nucrakE@mailuk.sitenucrakE7. 10. 2022 15:33:00
The vials are then removed from heat and placed on a roller and rolled at medium speed until the mixture thickened <a href=http://buylasixon.com/>lasix horse racing</a> Thus, there remains a clinical need for improved understanding of novel targets for drugs in the process of RA development
10. GRAVATAR - cliemiz@mailuk.sitecliemiz13. 10. 2022 6:06:00
<a href=http://bestcialis20mg.com/>buy cialis usa</a> PMID 19415485
11. GRAVATAR - plaubbida@benjaminmail.xyzplaubbida2. 11. 2022 6:33:00
Potential adverse effects of metformin Part one <a href=http://stromectol.autos/>ivermectin 3mg price</a>
12. GRAVATAR - Zootthory@newonlinemail.xyzZootthory13. 11. 2022 11:36:00
<a href=https://priligy.me/>priligy review youtube</a> Membrane ER α36 is correlated with the expression of pro angiogenic miRNA210 in an inverse manner and stratifies miR210 related patients survival, this may be understood as a possible anti angiogenic effect of ER α36 58

Reklama ETARGET:

13. GRAVATAR - duchthusy@barrettmail.xyzduchthusy14. 11. 2022 1:22:00
<a href=https://lasix.autos/>lasix price</a> Bevacizumab can still be used off label in breast cancer patients, but insurance companies may decide not to cover its cost, and the majority of patients will not be able to afford the approximately 90, 000 annual cost of the drug 41
14. GRAVATAR - addedetem@mailuk.siteaddedetem14. 11. 2022 6:36:00
Carnat A, Carnat AP, Fraisse D, Lamaison JL <a href=http://clomid.mom/>buy clomid online south africa</a> 2021 Dec; 17 12 717 719
15. GRAVATAR - Quexerolo@benjaminmail.xyzQuexerolo14. 11. 2022 8:17:00
The most active contract rose 0 <a href=https://nolvadex.one/>tamoxifen brand name</a>
16. GRAVATAR - Slaldycle@topmailnew.xyzSlaldycle15. 11. 2022 23:25:00
Drugs n Stuff, 84 steroid qa <a href=http://doxycycline.world/>doxycycline 100 mg capsule</a>
17. GRAVATAR - stirutt@newonlinemail.xyzstirutt23. 11. 2022 11:53:00
Transcriptional trajectories of human kidney injury progression JCI Insight <a href=https://stromectol.ink/>stromectol price in india</a>

Reklama ETARGET:

18. GRAVATAR - Idiomia@barrettmail.xyzIdiomia7. 12. 2022 14:28:00
<a href=https://clomid.one>clomid stockist uk</a> The concept can even be taken a step further, and a comprehensive index that incorporates a multigene assay of host and tumor associated factors, and possibly environmental factors, needs to be developed to truly individualize tamoxifen therapy
19. GRAVATAR - basergy@benjaminmail.xyzbasergy10. 12. 2022 12:00:00
These studies indicate the possibility that retinoid metabolites regulate adipogenesis and glucose metabolism <a href=https://stromectol.mom>over the counter stromectol</a> A 62 year old man with chronic heart disease and a history of ventricular arrhythmias had been treated with amiodarone for almost 9 years when he presented with progressive weakness, abdominal discomfort and jaundice
20. GRAVATAR - swammic@bernardmail.xyzswammic12. 12. 2022 9:15:00
<a href=https://vpriligys.buzz>where to buy priligy usa</a> If you have a low number of blood cells, your doctor may stop or delay your treatment
21. GRAVATAR - ELomonnem@benjaminmail.xyzELomonnem16. 12. 2022 18:03:00
<a href=http://nolvadex.buzz>what is nolvadex used for in bodybuilding</a> Zoloft to aging, has not make payments directly to wean myself to figure out the baby
22. GRAVATAR - opporia@newonlinemail.xyzopporia16. 12. 2022 22:47:00
Adult worms need a certain type of bacteria Wolbachia to live <a href=http://stromectol.pics>do you need a prescription for stromectol</a>

Reklama ETARGET:

23. GRAVATAR - Soorymn@bernardmail.xyzSoorymn23. 1. 2023 13:33:00
The study s objective was to assess the impact of viral coinfections and race on the clinical and virological outcome of HCV infection <a href=https://priligy.buzz>priligy review youtube</a>
24. GRAVATAR - froriemom@barrettmail.xyzfroriemom24. 1. 2023 0:29:00
After all her pain and suffering, she was dead at 69 <a href=https://priligy.buzz>priligy (dapoxetine)</a>
25. GRAVATAR - Ephetly@newtopmail.xyzEphetly25. 1. 2023 18:47:00
The blade of the blade slid lightly across the index finger, the sword 100 Real Balance was really sharp, a few Most Important medicines that cause low blood pressure drops of blood dripped on the fiery red sword, and soon disappeared without a trace as if it was absorbed by the sponge <a href=http://cialis.hair>buy cialis online united states</a>
26. GRAVATAR - sonoinsig@beaumail.xyzsonoinsig27. 1. 2023 14:23:00
Pirfenidone reduces in vitro rat renal fibroblast activation and mitogenesis <a href=http://cialis.boats>cialis prices</a> 0 respondents also abused anabolic androgenic steroids or other drugs
27. GRAVATAR - teerhearm@barrymail.xyzteerhearm28. 1. 2023 9:00:00
The fat man shook his head and poured a gulp of water into his face and natural ways to help with ED painful expression, No matter what kind of horse you ride, it s a sin after a long time it hurts <a href=http://cialis.hair>cialis 5mg</a> conceived the idea, planned the study design, revised the drafts and finalised the article

Reklama ETARGET:

28. GRAVATAR - Sogalgowl@onymail.xyzSogalgowl31. 1. 2023 18:40:00
National Heart, Lung, and Blood Institute The DASH Eating Plan, Seventh Report of the Joint National Committee on Prevention, Detection, Evaluation, and Treatment of High Blood Pressure <a href=https://aviagra.best>viagra connect price</a> Earlier in the week I had returned a standing lamp to IKEA 4 of us had tried to put it together with no luck so it was clearly defective
29. GRAVATAR - pogiese@topnewmail.xyzpogiese2. 2. 2023 10:14:00
Bidani AK, Griffin KA <a href=http://lasix.mom>lasix not urinating</a> Testosterone enanthate is suspended in sesame oil, and is available under the brand names of Delatestryl and Watson, as well as generically compounded in licensed pharmacies in the US to the same stringent

Přidat vlastní komentář k článku



Z důvovů ochrany proti spamu prosím do následujícího políčka napište texy "NOSPAM":

Chcete-li ke komentáři přidat svou fotku nebo jinou ikonku, postupujte podle návodu.


TOPlist

[CNW:Counter]