Automatization of server synchronisation with OTP

Advertisement

joggel
Joined:
Posts:
2

Automatization of server synchronisation with OTP

Hello,
I want to move data from a server to my local machine (and vise versa) in an automatic way. Every time if there is a new file created in a certain folder of the server, it should be moved (or copy and deleted) to the local machine. My suggestion is to have a script running on my local machine with a infinity loop, which checks if there is anything new on the server every 5 min and than do the movement stuff. The problem is, that I have to use 2FA to connect to my server. Is there any possibility to login to the server once a day with a OTP and than use the established connection? I tried a bit around with scripting and the .NET assembly but nothing worked.

Thansk a lot for your help and best regards,

Johannes

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,480
Location:
Prague, Czechia

Re: Automatization of server synchronisation with OTP

How does the server prompt for the OTP? Is it a regular password prompt? Or is it an additional prompt (after password)?

Reply with quote

joggel
Joined:
Posts:
2

Re: Automatization of server synchronisation with OTP

martin wrote:

How does the server prompt for the OTP? Is it a regular password prompt? Or is it an additional prompt (after password)?

First it asks for the OTP, then for the password, so there are two prompts in succession. How can I differ between a regular and a additional prompt?

Thanks a lot

Reply with quote

Advertisement

You can post new topics in this forum