LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2018, 01:15 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,301
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
Question What type of MACs can I add to ssh_config file and how to confirm?


I don't think I want to add to /etc/ssh/ssh_config

Code:
hmac-sha1
However I see from the man ssh_config, that the following are available:

Code:
hmac-md5,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
Would it be safe to use all of the above?


Also, I've run

Code:
ssh -Q mac
And it doesn't tell me any output...is there a way to confirm what MACs are being used from ssh_config?

https://www.ssh.com/ssh/config/

thanks
 
Old 01-10-2018, 05:18 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
When the client picks a MAC, it just goes through the list of available hashes on the server. The first one it finds that both the server and client can use, it chooses for itself. The 2 sides then agree. So, you can add any MAC hashes you want.
 
  


Reply

Tags
mac, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to confirm whether a mount is of type SAN or NAS on Oracle Linux VM p_raju Linux - Newbie 3 03-21-2014 11:27 PM
read-only file system how to confirm mushtaq Linux - General 4 04-15-2011 01:39 AM
How to confirm the file locale. UltraSoul Solaris / OpenSolaris 2 01-16-2007 07:08 PM
I installed openssh for redhat 7.3 but no /etc/ssh/ssh_config file was made akay Linux - Networking 1 11-15-2004 05:19 PM
Please confirm I know what I need to add to my XF86Config sharpie Slackware 3 02-11-2004 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration