Skip to content

TestHostNameCollision currently not working #231

@ste5e99

Description

@ste5e99

I added some println's to see where the test was failing, and it stopped working as soon as it hit sshd.ConnectShell.

My code below:

// First client
fmt.Println("Creating new client")
go func() {
	fmt.Println("Connecting a shell")
	err := sshd.ConnectShell(s.Addr().String(), "foo", func(r io.Reader, w io.WriteCloser) error {
	    fmt.Println("Opening a scanner")
	    scanner := bufio.NewScanner(r)

Which results in

Creating new client
Connecting a shell

but never reaching anything else past that. I ran the tests on a Linux VM and a Windows machine and the tests never work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions