putty lock up connecting to ssh_sshd

Serge Aleynikov serge@REDACTED
Sat Feb 18 15:42:40 CET 2006

Do you have the HOME environment variable set?  If not do set it to 
point to some existing directory, before starting an SSH server.

See if this helps.


ke.han wrote:
> I am starting ssh_sshd on a freebsd 6 server running erlang (starting 
> from yaws).
> 1> ssh_sshd:listen(3322, [{user_passwords, [{"admin","admin"}]}]).
> {ok,<0.33.0>}
> I then go to my windows client and run putty, connecting to port 3322 on 
> the appropriate ip.
> I receive the username and admin prompts to which I respectively reply 
> admin and admin.
> My terminal responds by showing my the erlang shell as expected but then 
> putty accepts no further input.  Its simply locked up.
> The erlang server does not show any errors (until I close putty and get 
> a disconnect).
> I have also tried to log in from a windows erlang shell with:
> ssh_ssh:connect("", 3322, []).
> This first asks me if I want to accept the host address to which I reply 
> "y". Then I get the following error on my erlang windows shell:
> ** exited: {error,enoent} **
> again, no errors on the server shell.
> If I do the same thing with the server name mapping instead of the ip, I 
> get the same results.
> Anyone else experience this?
> thanks, ke han

More information about the erlang-questions mailing list