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
- MongoDb not connecting C#
- Python Requests: Handling Exceptions and Ensuring Server Response
- Flutter connection to a local api
- SerialPort timeouts in ReadChar() method, WPF, "The operation has timed out."
- test result: Error. Program `sh' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480002ms)
- sql performance in accounting software invoice list
- Scrapy handle closespider timeout in middleware
- Run initialization has timed out after 90.0 sec
- Problem with connection timeout SQL Server
- Connection timeout when trying to reach local web server from within local network
- C# MVC net.7 Application goes in time out
- How to hande nodejs/expressjs gateway timeout by THIRD_PARTY_SERVER?
- Why does the python client socket receiving a reply but still throw the exception in some threadings?
- Timeout error when running webdriverIO project in Docker with MacBook M1 Pro
- mobile devices dont see radio button onchange
Related Questions in RASPBERRY-PI
- Raspberry Pi Sense Hat with Pyinstaller
- Waiting for several hours before resuming execution
- Using compositor in Gstreamer to merge imagesequence with video/audio stream
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- Emulating an HID device with a raspberry pi 5
- How to stream PCM audio to a speakers both on mac and linux in Node.js?
- I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver
- voron 2.4 mainsail kiauh error install crowsnest (solved problem)
- Pi4J minimal example's LED doesn't blink
- How can I connect and send data from react-native to raspberry pi
- Xpt 2046 Display with Pn532 RFID reader
- Google SDK for Raspberry pi
- How to use a RaspberryPi camera with the cv2.videoCapture() function?
- How do I capture audio from the system bus in a node app (or from sox) on a raspberry pi?
- Can't open /dev/mem: Operation not permitted Raspberry Pi
Related Questions in SCP
- Function calling scp behaves unexpectedly when using * wildcard
- AWS Organization SCP EnforceMFA SSO
- Escape space in a username an SCP command
- sshpass with -f is working but not with -p
- Deploying to server via GitHub Actions and appleboy/scp-action fails with Tar short read error
- Resuming rsync Causes Curious Network Traffic Flow
- Is there a faster way to transfer data from local machine to AWS EC2?
- How do I make a sshpass scp bash script for password and not keys to be run as a cron?
- AWS Organizations SCP policies and member root accounts
- SCP file transfer not working in GitLab-CI
- What am I doing wrong with gcloud scp?
- SSH to server and from there SCP to another server
- How to use SCP and AWS to share data from remote Ceph (S3) and a remote standard filesystem?
- Increase performance of Shell script in Linux to copy files from Server 1 to Server 2
- subprocess.Popen() wont pick up scp's output to stdout
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 # Hahtags
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.