Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

To SSH to a Centos Server I have to use:

SSH -c aes256-ctr server.name.edu -l myid

How can I make the cipher the default for that server without specifying it on the command line?

share|improve this question

1 Answer 1

You can set it in your user's ssh config file (if it does not exist, just create it by touch config). Put following line in your user's ssh config file (~/.ssh/config) or in global ssh config file (/etc/ssh/ssh_config):

Cipher <cipher>

And then you should be able to use ssh just like this without specifying cipher:

ssh server.name.edu -l myid
share|improve this answer

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.