Ajay
Ajay

Reputation: 483

EMR ssh on Master node

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

Answers (1)

SNeumann
SNeumann

Reputation: 1177

Try to add this to /etc/ssh/ssh_config:

ServerAliveInterval 60

Upvotes: 3

Related Questions