Score:0

Bad configuration option: pubkeyacceptedalgorithms

vn flag

I want to connect to Red Hat Linux server, but I the the error Bad configuration option: pubkeyacceptedalgorithms

screenshot

screenshot 2

when I use putty to connect to the server I get the error Network error: connection refused

us flag
Rob
Welcome to Server Fault! Please when posting console output / settings format it as "`code`" using [Markdown](http://serverfault.com/editing-help) and/or the formatting options in the edit menu to properly type-set your posts. Also use copy-paste and avoid posting screenshots of text. That improves readability, attracts better answers and allows indexing by search engines, which may help people with similar questions.
Score:1
fr flag

The PubkeyAcceptedKeyTypes option in config file should read as below:

PubkeyAcceptedKeyTypes +ssh-dss

Equal sign = can be used on command line with -o option but it is not allowed in config file.

Score:0
us flag
Rob

Fix the error in the configuration file, then sshd will be able to start and you'll be able to log in with PuTTY - man sshd_config should show what values are acceptable for PubkeyAcceptedKeyTypes but both the = sign as you current wild-card *ssh-dss appear incorrect.

That setting should look something like:

 PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512

or

 PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],[email protected]
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.