Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openssh fails to establish a connection: profile not found #12488

Closed
irundaia opened this issue Apr 15, 2017 · 2 comments
Closed

openssh fails to establish a connection: profile not found #12488

irundaia opened this issue Apr 15, 2017 · 2 comments

Comments

@irundaia
Copy link
Contributor

I've recently upgraded openssh, and now I can no longer connect to my server. I think this issue is similar/identical to this issue.

I'd like to help but unfortunately, I don't have enough knowledge of the homebrew to fix this issue myself.

Below I've included a log in which I attempted to connect to my server exactly once. I hope this helps!

sudo /usr/local/sbin/sshd -D -d
debug1: sshd version OpenSSH_7.5, OpenSSL 1.0.2k 26 Jan 2017
debug1: private host key #0: ssh-rsa
debug1: private host key #1: ssh-dss
debug1: private host key #2: ecdsa-sha2-nistp256
debug1: private host key #3: ssh-ed25519
debug1: rexec_argv[0]='/usr/local/sbin/sshd'
debug1: rexec_argv[1]='-D'
debug1: rexec_argv[2]='-d'
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug1: fd 6 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 6 out 6 newsock 6 pipe -1 sock 9
debug1: inetd sockets after dupping: 5, 5
Connection from 89.99.198.124 port 53128 on 192.168.0.10 port 22
debug1: Client protocol version 2.0; client software version OpenSSH_7.5
debug1: match: OpenSSH_7.5 pat OpenSSH* compat 0x04000000
debug1: Local version string SSH-2.0-OpenSSH_7.5
debug1: Enabling compatibility mode for protocol 2.0
ssh_sandbox_child: sandbox_init: @Prefix@/share/openssh/org.openssh.sshd.sb: profile not found [preauth]
debug1: do_cleanup [preauth]
debug1: monitor_read_log: child log fd closed
debug1: do_cleanup
debug1: Killing privsep child 79361

@dunn
Copy link
Contributor

dunn commented Apr 29, 2017

A workaround until that issue is resolved would be to build OpenSSH from source: brew reinstall -s openssh

@irundaia
Copy link
Contributor Author

irundaia commented May 1, 2017

Thanks guys, it works again!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants