[erlang-questions] beginner: Alternative ways to start ssh application?

Bengt Kleberg <>
Thu Jul 19 09:39:56 CEST 2012


Greetings,

Is there more ways than ssh:start/0 to start ssh?

I want to use SFTP. When I try:
ssh_sftp:start_channel("137.58...",  [{user, "jpT..."}, {password,
"..."}] ).
I get:
{error,ssh_not_started}

So I try to do:
ssh:start().
but then I get
{error,{already_started,ssh}}

So, perhaps there is an alternative way to start ssh, that will please
ssh_sftp? Or an alternative way to use ssh_sftp that will use the
existing ssh?


bengt




More information about the erlang-questions mailing list