Reputation: 483
When i do ssh to master node as:
ssh hadoop@masternode -i key.pem
The connection is terminated with message :
Connection reset by peer
Is there anyway to maintain the ssh session for long time?
Upvotes: 1
Views: 687
Reputation: 1177
Try to add this to /etc/ssh/ssh_config:
ServerAliveInterval 60
Upvotes: 3