Tag Archives: ssh

packet_write_wait: Connection to XXX : Broken pipe

Tweet In general, I can connect to a remote machine via SSH without any troubles but occasionally in some particular setup, although I can connect to the remote machine and type commands in a shell, the connection is broken after … Continue reading

Posted in Linux | Tagged | Leave a comment

Running SSH commands (remotely)

Tweet Consider a login on ta Host machine. To run a command (let us try a simple ls to list the current directory), just type:

In practice, commands are longer and you would rather use double quotes around the … Continue reading

Posted in Linux | Tagged | 1 Comment

ssh on remote host without typing the password

Tweet When you connect to a remote host with SSH, you need to enter the password, which can be cumbersome on the long term when connections are frequent. Here is a solution to make the connection automatic. First, if not … Continue reading

Posted in Linux | Tagged , | Leave a comment

scp does not work: wrong bashrc

Tweet When I tried to use scp to copy a file on a distant machine:

it looked as if the SCP command works but the file is not copied. The interactive option (-v) does not provide any hints. The … Continue reading

Posted in Linux | Tagged , , | 3 Comments