Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm talking about the client. I would like any SSH connection (including those done through SCP and gvfs, if possible) to use the option ServerAliveInterval=30

Is there somewhere that I can push this option to globally change how SSH connections are made?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Aha. Well I just found /etc/ssh/ssh_config where I can put global settings. I've added

ServerAliveInterval 30

I'm not sure if this is going to change how gvfs and scp work though.

share|improve this answer
    
It should, as everything that uses SSH presumably calls the same code. –  Scott Severance Dec 21 '11 at 14:01
    
That's quite a presumption! I'll have a go at setting an option that should break ssh connection globally (later - have to work right now) and will update the answer to see if it does affect gvfs et al. –  Oli Dec 21 '11 at 15:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.