From ecd07b0c9b81cfa1cf09abae8caacc04af20e911 Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 28 Jan 2023 23:04:49 -0700 Subject: Set ssh port in test config, move asciinema-player to reg deps --- test/ssh/ssh_auth_test.exs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/ssh/ssh_auth_test.exs b/test/ssh/ssh_auth_test.exs index 54b0069..70a57be 100644 --- a/test/ssh/ssh_auth_test.exs +++ b/test/ssh/ssh_auth_test.exs @@ -38,7 +38,7 @@ defmodule Chessh.SSH.AuthTest do send( parent, {:attempted, - :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port), + :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port), user: String.to_charlist(@valid_user.username), password: String.to_charlist(@valid_user.password), auth_methods: auth_method, @@ -90,7 +90,7 @@ defmodule Chessh.SSH.AuthTest do Task.Supervisor.start_child(sup, fn -> {:ok, conn} = - :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port), + :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port), user: String.to_charlist(@valid_user.username), password: String.to_charlist(@valid_user.password), auth_methods: 'password', @@ -105,7 +105,7 @@ defmodule Chessh.SSH.AuthTest do Task.Supervisor.start_child(sup, fn -> {:ok, conn} = - :ssh.connect(@localhost, Application.fetch_env!(:chessh, :port), + :ssh.connect(@localhost, Application.fetch_env!(:chessh, :ssh_port), user: String.to_charlist(@valid_user.username), auth_methods: 'publickey', silently_accept_hosts: true, -- cgit v1.2.3-70-g09d2