How to reset FreeBSD install?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I was upgrading FreeBSD on my virtual host, from 10.0 to 11.1. While upgrading from 11.0 to 11.1 I was confronted with a large amount of files that had to be diffed and edited. I tried my best, failed, and now can't login to my server.



Using ssh -vvv I can see the following happening:



OpenSSH_7.3p1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /opt/local/etc/ssh/ssh_config
debug2: resolving "xxxx" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxxx [xxxx] port 22.
debug1: Connection established.
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3


Is there a way to just force FreeBSD to accept whatever factory settings it comes with on 11.1? Basically wipe everything out and let me reconfigure from the start?



Update



My host comes with 10.0 only so a new clean install would involve me upgrading from 10.0 to 11.1 all over again. I'm already at 11.1, I just want it to work.










share|improve this question





















  • But I don't know what else is broken. And the file doesn't exist.
    – ruipacheco
    Oct 8 '17 at 11:50











  • some info here unix.stackexchange.com/a/321972/153195 see the similar problems
    – GAD3R
    Oct 8 '17 at 12:07










  • During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
    – Claus Andersen
    Oct 9 '17 at 8:15










  • Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
    – ColtonCat
    Mar 20 at 4:16














up vote
2
down vote

favorite












I was upgrading FreeBSD on my virtual host, from 10.0 to 11.1. While upgrading from 11.0 to 11.1 I was confronted with a large amount of files that had to be diffed and edited. I tried my best, failed, and now can't login to my server.



Using ssh -vvv I can see the following happening:



OpenSSH_7.3p1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /opt/local/etc/ssh/ssh_config
debug2: resolving "xxxx" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxxx [xxxx] port 22.
debug1: Connection established.
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3


Is there a way to just force FreeBSD to accept whatever factory settings it comes with on 11.1? Basically wipe everything out and let me reconfigure from the start?



Update



My host comes with 10.0 only so a new clean install would involve me upgrading from 10.0 to 11.1 all over again. I'm already at 11.1, I just want it to work.










share|improve this question





















  • But I don't know what else is broken. And the file doesn't exist.
    – ruipacheco
    Oct 8 '17 at 11:50











  • some info here unix.stackexchange.com/a/321972/153195 see the similar problems
    – GAD3R
    Oct 8 '17 at 12:07










  • During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
    – Claus Andersen
    Oct 9 '17 at 8:15










  • Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
    – ColtonCat
    Mar 20 at 4:16












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I was upgrading FreeBSD on my virtual host, from 10.0 to 11.1. While upgrading from 11.0 to 11.1 I was confronted with a large amount of files that had to be diffed and edited. I tried my best, failed, and now can't login to my server.



Using ssh -vvv I can see the following happening:



OpenSSH_7.3p1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /opt/local/etc/ssh/ssh_config
debug2: resolving "xxxx" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxxx [xxxx] port 22.
debug1: Connection established.
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3


Is there a way to just force FreeBSD to accept whatever factory settings it comes with on 11.1? Basically wipe everything out and let me reconfigure from the start?



Update



My host comes with 10.0 only so a new clean install would involve me upgrading from 10.0 to 11.1 all over again. I'm already at 11.1, I just want it to work.










share|improve this question













I was upgrading FreeBSD on my virtual host, from 10.0 to 11.1. While upgrading from 11.0 to 11.1 I was confronted with a large amount of files that had to be diffed and edited. I tried my best, failed, and now can't login to my server.



Using ssh -vvv I can see the following happening:



OpenSSH_7.3p1, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /opt/local/etc/ssh/ssh_config
debug2: resolving "xxxx" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxxx [xxxx] port 22.
debug1: Connection established.
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/ruihpacheco/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3


Is there a way to just force FreeBSD to accept whatever factory settings it comes with on 11.1? Basically wipe everything out and let me reconfigure from the start?



Update



My host comes with 10.0 only so a new clean install would involve me upgrading from 10.0 to 11.1 all over again. I'm already at 11.1, I just want it to work.







freebsd system-installation configuration






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 8 '17 at 10:56









ruipacheco

988




988











  • But I don't know what else is broken. And the file doesn't exist.
    – ruipacheco
    Oct 8 '17 at 11:50











  • some info here unix.stackexchange.com/a/321972/153195 see the similar problems
    – GAD3R
    Oct 8 '17 at 12:07










  • During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
    – Claus Andersen
    Oct 9 '17 at 8:15










  • Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
    – ColtonCat
    Mar 20 at 4:16
















  • But I don't know what else is broken. And the file doesn't exist.
    – ruipacheco
    Oct 8 '17 at 11:50











  • some info here unix.stackexchange.com/a/321972/153195 see the similar problems
    – GAD3R
    Oct 8 '17 at 12:07










  • During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
    – Claus Andersen
    Oct 9 '17 at 8:15










  • Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
    – ColtonCat
    Mar 20 at 4:16















But I don't know what else is broken. And the file doesn't exist.
– ruipacheco
Oct 8 '17 at 11:50





But I don't know what else is broken. And the file doesn't exist.
– ruipacheco
Oct 8 '17 at 11:50













some info here unix.stackexchange.com/a/321972/153195 see the similar problems
– GAD3R
Oct 8 '17 at 12:07




some info here unix.stackexchange.com/a/321972/153195 see the similar problems
– GAD3R
Oct 8 '17 at 12:07












During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
– Claus Andersen
Oct 9 '17 at 8:15




During the upgrade on the server freebsd-update alters /etc/ssh/sshd_config on your FreeBSD server. It tries to be smart about it but it has messed up my config more than once. It is a simple text file which is easy to read and correct.
– Claus Andersen
Oct 9 '17 at 8:15












Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
– ColtonCat
Mar 20 at 4:16




Do you have physical access to host, if so replace /etc/ssh/sshd_config on the disk with a version from a FreeBSD 11.1 installation. That should let you back in - but who knows what else is broken if you did not complete the merge fully.
– ColtonCat
Mar 20 at 4:16















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396816%2fhow-to-reset-freebsd-install%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396816%2fhow-to-reset-freebsd-install%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?