lweiper
6 Indium

Putty SSH session times out with Avamar 7.1

Hi,

I get logged out from the Putty session after approx. 15 mins of inactivity all the time. I then edited the file "/etc/ssh/sshd_config" and changed the following parameters to the value below and restarted the ssh daemon:

TCPKeepAlive yes

ClientAliveInterval 30

ClientAliveCountMax 99999

But still, the session times out all the time.

Where else can I configure this that the ssh session do not time out anymore?

Thanks and regards,

Ludwig

0 Kudos
9 Replies
8 Krypton

Re: Putty SSH session times out with Avamar 7.1

Ludwig.

Please follow this KB to increase ssh timeout:

https://support.emc.com/kb/193391

Rgds

lweiper
6 Indium

Re: Putty SSH session times out with Avamar 7.1

Thanks, Arturo for the KB! But, after changing the value in the /etc/profile do I need to restart a service for the changes to take effect?

0 Kudos
8 Krypton

Re: Putty SSH session times out with Avamar 7.1

Indeed, you need to restart SSHD after changing the setting: 

service sshd restart

Rgds

0 Kudos
lweiper
6 Indium

Re: Putty SSH session times out with Avamar 7.1

Thanks!

0 Kudos
8 Krypton

Re: Putty SSH session times out with Avamar 7.1

yeah in 7.1 the documents say that they set it to have a time out (where before it did not)  they also do not allow you to log in directly as root either.

lweiper
6 Indium

Re: Putty SSH session times out with Avamar 7.1

You can edit the /etc/ssh/sshd_config file to allow root user login again by setting the parameter like this;

PermitRootLogin yes

Then restart sshd daemon "service sshd restart"

0 Kudos
8 Krypton

Re: Putty SSH session times out with Avamar 7.1

I would not recommend permitting remote root. You can just as easily log in as admin and use su - root to switch to the root account if needed and it is far more secure. In fact, I would discourage people from using the root account for anything unless it's strictly required.

I know the Avamar Administration course was training people to log in as root for a long time but this was changed at my request. The number of tasks that require root access to the Avamar system can be counted on one hand.

lweiper
6 Indium

Re: Putty SSH session times out with Avamar 7.1

Ian,

I would never do it on customer installations and would never recommend it to customers. Just for my personal lab environment I made these changes for my convenience.

Regards, Ludwig

8 Krypton

Re: Putty SSH session times out with Avamar 7.1

Thank you for clarifying.

0 Kudos