So im doing an scp from a raspberry pi to my computer, which is set to wake for internet requests, but it takes time to wake, Ive tested this by sshing into my computer from my phone, while my computer was closed, and it took a while (5-10 seconds) but worked. The problem is the pi scp requests time out before the comptuer wakes. The scp is run in a .sh script triggered by cron. How to I change the timeout time for scp? Any help would be appreciated!
1
There are 1 best solutions below
Related Questions in TIMEOUT
- Function timeouts in C and thread
- RubyOnRails multiple database connections errors
- Debugging a 404 error for an existing page
- HttpWebRequest timing out, but no packets leaving client
- Multipart/form-data POST request gets timeout and is never sent using AFNetworking
- How to prevent timeout when running a time consuming PHP
- RequireJS module load timeout when using bundles
- OkHttp/Retrofit default timeout
- jetty replay request on timeout
- BASH - Getting an rsh command to return a value or to timeout
- ShareFile upload with Python 2.7.5 code timesout on FTPS STOR
- This page cannot be displayed error when calling a long stored procedure
- Javascript reruning timeout after being cleared
- Retrieve the data from sql database and don`t encounter timeout exception
- AmazonEc2InstanceDataPropertySource.getProperty() is extremely slow when run outside of Amazon
Related Questions in RASPBERRY-PI
- Using camera shutter to trigger MPU6050 on raspberry pi
- os.hostname() to return an IP
- Sparkfun SC16IS750 does not work on Raspberry Pi
- Raspberry Pi won't run script on boot
- Raspberry PI Compute Module - SPI1
- Arduino serial works fine with Debian but hangs with Raspbian
- MPI Processes Communication error
- Raspberry Pi script boot order
- Kivy on RaspberryPi (Raspbian) - unable to load any valuable window provider
- Raspberry Pi: printf() doesn't work with wiringPi
- separate frequencies from music
- Use same Python variable in multiple if-statements
- Nodejs app is continuously restarting
- How deploy an large number iBeacons
- RPi running script at boot then stops
Related Questions in SCP
- copying file from local machine to Ubuntu 12.04 returning permission denied
- Prevent Linux user from connecting with WinSCP
- How to copy multiple files using PSCP from Unix to Windows?
- Transfer File to Unix Server from Windows Shared Path using PuTTY
- How to `scp` directory preserving structure but only pick certain files?
- How can I download entire directory from remote machine with using scp libssh library in c++?
- SCP timeout delay?
- Repeated prompt for option while running SCP script
- copy directory from another computer on Linux
- Disable scp password prompt
- scp between 2 AWS Instances
- scp between two terminal windows (or multihop scp)
- Install SCP in Docker container
- How to send local file using Spring Boot Remote Shell (CRaSH)
- Elixir with "scp" -- permission denied and connection lost
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Use the
ConnectTimeoutoption:If that still doesn't work, try using
ConnectionAttempts=2(or higher) option, which will retry if the first one times out.