Hello everyone
I am using ssh to login to a linux box from my Mac. Please see below some info:
System Version: OS X 10.9.1 (13B42)
Kernel Version: Darwin 13.0.0
Boot Volume: Macintosh HD
Boot Mode: Normal
This is how my ssh_config file looks like:
Host *
SendEnv LANG LC_*
ServerAliveInterval 30
ForwardX11Timeout 1D
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice anyny
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)
Host *
XAuthLocation /opt/X11/bin/xauth
ServerAliveInterval 30
Is there anything else I need to add to it?
The serverAliveInterval is set to 30 which means that every 30 seconds my mac is sending null packets to the remote machine in order to keep the connection alive. Why it drops after a few hours is a mystery to me.
The error I get is:
Write failed: Broken Pipe.
If anyone has any suggestions please let me know.
Many thanks.
I am using ssh to login to a linux box from my Mac. Please see below some info:
System Version: OS X 10.9.1 (13B42)
Kernel Version: Darwin 13.0.0
Boot Volume: Macintosh HD
Boot Mode: Normal
This is how my ssh_config file looks like:
Host *
SendEnv LANG LC_*
ServerAliveInterval 30
ForwardX11Timeout 1D
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice anyny
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)
Host *
XAuthLocation /opt/X11/bin/xauth
ServerAliveInterval 30
Is there anything else I need to add to it?
The serverAliveInterval is set to 30 which means that every 30 seconds my mac is sending null packets to the remote machine in order to keep the connection alive. Why it drops after a few hours is a mystery to me.
The error I get is:
Write failed: Broken Pipe.
If anyone has any suggestions please let me know.
Many thanks.