Mailinglist Archive: opensuse (963 mails)

< Previous Next >
Re: [opensuse] Repair Broken SSH
  • From: Martti Laaksonen <martti.laaksonen@xxxxxx>
  • Date: Tue, 23 Nov 2010 19:46:06 +0200
  • Message-id: <201011231946.06490.martti.laaksonen@xxxxxx>
On Tuesday 23 November 2010 03:51:55 Andrew Joakimsen wrote:
I don't care about the configuration or preserving anything. How can I
restore SSH configuration to be exactly like it would be after a new
installation of openSUSE?

ssh-keygen as root.

That still does not generate the SSH fingerprint, like it does with a
fresh configuration.

If we're talking about openSUSE openssh package, then sshd start script should
automatically create the host keys upon start, if there are no host key
definitions in /etc/ssh/sshd_config and the default files do not already

Just have a look at /etc/init.d/sshd to see what is supposed to happen during
sshd start.

Also, I still have the original issue which is when I try to SCP files
to other machines it fails with the error:

command-line: line 0: bad configuration option: passwordprompt

You either have an alias or script named scp where that invalid option
'passwordprompt' is set (unless you actually defined that option yourself in
the scp command, which I doubt).

Martti Laaksonen
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups