
On Tuesday, November 23, 2010, Martti Laaksonen <martti.laaksonen@sci.fi> wrote:
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 exist.
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I never changed the scp script, so how do i reset everything in ssh and scp to be like it was with a new installation? -- Med Vennlig Hilsen, A. Helge Joakimsen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org