Linked Questions

-2
votes
2answers
703 views

How can I repeat a Linux command every minute? [duplicate]

I'd like to get a Linux command which runs in the background and writes something to the terminal screen every one minute. I am trying to keep ssh session alive, I am using Cygwin for connection to ...
98
votes
6answers
175k views

What does the Broken pipe message mean in an SSH session?

Sometimes my SSH session disconnects with a Write failed: Broken pipe message. What does it mean? And how can I keep my session open? I know about screen, but that's not the answer I'm looking for. I ...
3
votes
2answers
4k views

sshfs “Connection reset by peer” with identify file

Time to time I need create servers network - link servers and quickly copy data. I'm using for that SSH Filesystem (SSHFS) because it is simple and easy to use like connect with Secure Shell (SSH). ...
2
votes
1answer
3k views

What is default value of ServerAliveInterval?

I’m using Amazon Linux, [davea@mymachine ~]$ uname -a Linux mymachine.mydomein.org 4.4.35-45.83.amzn1.x86_64 #1 SMP Wed Jul 27 22:37:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux In my /etc/ssh/...
2
votes
2answers
3k views

SSH: “Connection closed by remote host” randomly while working on an interactive session

I am working on a remote server, on which I do numerical simulation using the OpenFOAM computational fluid dynamics library. I built a collection of Python scripts to automate my parametric studies ...
1
vote
1answer
2k views

When to use ClientAliveInterval versus ServerAliveInterval

I'm connecting to a linux server (GoDaddy dedicated server) via SSH to compress incremental backups either via a tar cvfj or tar cvf to make .tar.bz2 or .tar files, respectively. I've started to run ...
1
vote
2answers
443 views

How do I prevent just 'exit' from being saved when I close an SSH connection?

When searching for a way to do this on Google, all I can find are ways to quit the session without saving history (like kill -9 $$), but I have the opposite problem. I want to save all of my history, ...
1
vote
4answers
177 views

Issue with ssh && apt-get, need advice

I decided to dust off my Beaglebone Black Rev.C and figured before I do much of anything, I should get everything up to date. I created an SD card with the new Debian 8.3 image and installed it. No ...
0
votes
1answer
67 views

SSH connection gets lost, but not when logged in to MySQL

When I open an SSH connection to our database server and leave it open for a longer time, the connection gets lost at some point. I don't know why or how, but this happens a lot. I still see the ...
1
vote
1answer
81 views

ssh to remote server is timing out during the BASH script execution

I am executing a BASH shell script (downloadScript.sh) on a remote server in the below way. Since the script takes more time to execute, the remote shell is getting timed out in between. ssh -i aws....
2
votes
0answers
65 views

Remove inactive SSH process (on server) after connection dropped (on client)

I'm using the following command on a client for port tunneling: autossh -M 20000 -4 -N -f -R 18822:localhost:22 <user>@<vps-ip> Sometimes the client would lose connection or power for a ...