Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Unsupported option "rhostsrsaauthentication" "rsaauthentication" #184

Closed
AaronHolbrook opened this issue Sep 24, 2018 · 2 comments · Fixed by #187
Closed

Unsupported option "rhostsrsaauthentication" "rsaauthentication" #184

AaronHolbrook opened this issue Sep 24, 2018 · 2 comments · Fixed by #187
Labels

Comments

@AaronHolbrook
Copy link

Using this role on Ubuntu 18.04 throws some messages when attempting to use SSH from inside the box:

git clone git@github.com:ZeekInteractive/wordpress-project.git
Cloning into 'wordpress-project'...
/etc/ssh/ssh_config line 75: Unsupported option "rhostsrsaauthentication"
/etc/ssh/ssh_config line 78: Unsupported option "rsaauthentication"
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
remote: Counting objects: 305, done.
remote: Compressing objects: 100% (267/267), done.
remote: Total 305 (delta 32), reused 295 (delta 22), pack-reused 0
Receiving objects: 100% (305/305), 2.87 MiB | 18.70 MiB/s, done.
Resolving deltas: 100% (32/32), done.

I'm suspecting that this is because openSSH has deprecated those two options and is vocally alerting us to not use them in the future.

@rndmh3ro rndmh3ro added the bug label Sep 25, 2018
@rndmh3ro
Copy link
Member

Yeah, Ubuntu 18.04 isn't tested and supported yet. Thanks for noticing!

@BentoumiTech
Copy link
Contributor

@AaronHolbrook @rndmh3ro If you are using ansible galaxy requirements.yml you can try with my PR #187

requirements.yml

- src: https://github.com/Neophy7e/ansible-ssh-hardening
   name: dev-sec.ssh-hardening

Then force reinstall of roles

ansible-galaxy install --force -r requirements.yml

The issue seems to always have been there, the way version where compared wasn't correct

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants