[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request to help regarding ssh_scp apis.


On Saturday, 25 April 2020 22:02:09 CEST Yash Katta wrote:
> Hi,

Hi Yash,

> My name is Yash Katta. In my current project. I am working on ssh_scp APIs
> (more precisely ssh_scp_push_file, ssh_scp_write, ssh_scp_push_directory
> APIs).
> When I interrupt the scp communication on my Ubuntu 18.04 using a command
> 
> *$ sudo iptables -I INPUT -s [ip_address] -j DROP*
> 
> The process completely stops for an unknown time period.
> 
> So I want to ask, how to set a timeout for this task. so that if I didn't
> get the response, it will wait for some time and on timeout, it returns
> some SSH_ERROR and proceeds further.

SCP is one of the worst protocols on planet earth and should be removed as 
soon as possible. Please use SFTP instead!



	Andreas

-- 
Andreas Schneider                 asn@xxxxxxxxxxxxxx
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



Follow-Ups:
Re: Request to help regarding ssh_scp apis.Yash Katta <yash.katta1@xxxxxxxxx>
References:
Request to help regarding ssh_scp apis.Yash Katta <yash.katta1@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org