Unsolved
This post is more than 5 years old
15 Posts
0
5340
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
arturo3
40 Posts
4
February 18th, 2015 02:00
Ludwig.
Please follow this KB to increase ssh timeout:
https://support.emc.com/kb/193391
Rgds
lweiper
15 Posts
0
February 18th, 2015 02:00
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?
arturo3
40 Posts
0
February 18th, 2015 03:00
Indeed, you need to restart SSHD after changing the setting:
service sshd restart
Rgds
lweiper
15 Posts
0
February 18th, 2015 04:00
Thanks!
J_H_
498 Posts
1
February 18th, 2015 14:00
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
15 Posts
0
February 18th, 2015 22:00
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"
ionthegeek
2K Posts
1
February 19th, 2015 05:00
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
15 Posts
1
February 19th, 2015 06:00
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
ionthegeek
2K Posts
0
February 19th, 2015 06:00
Thank you for clarifying.