20 Aug 12:46
Systematic debugging (ssh_sample_cli)
From: Brian Candler <B.Candler <at> pobox.com>
Subject: Systematic debugging (ssh_sample_cli)
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-08-20 10:46:37 GMT
Subject: Systematic debugging (ssh_sample_cli)
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-08-20 10:46:37 GMT
I have been trying to get the ssh_sample_cli application to run. This is
with R11B5 from Ubuntu Hardy.
I copied the ssh_sample_cli.erl to a local directory, and it appears to
compile and start:
1> c(ssh_sample_cli).
./ssh_sample_cli.erl:128: Warning: this expression would cause a 'badarith' exception at run-time
{ok,ssh_sample_cli}
2> crypto:start().
ok
3> ssh_sample_cli:listen(2222).
{ok,<0.46.0>}
4>
However when I try to "ssh -p 2222 localhost help" from another terminal,
the client sees the connection drop, and the erlang shell shows
=ERROR REPORT==== 20-Aug-2008::11:01:12 ===
** Generic server <0.50.0> terminating
** Last message in was {'EXIT',<0.47.0>,{error,eacces}}
** When Server state == {state,server,
<0.47.0>,
16,
[],
[{<0.51.0>,#Ref<0.0.0.213>}],
0,
[],
[],
undefined}
(Continue reading)
RSS Feed