erlang shell via ssh

tobbe tobbe@REDACTED
Thu Dec 15 15:37:56 CET 2005


Ok, got it to work finally:

# pwd
/home/tobbe/ssh_home
#  ssh-keygen -f ssh_host_dsa_key -t dsa -N ""
.....
# erl
1> ssh_sshd:listen(3322, [{system_dir, "/home/tobbe/ssh_home"}, {user_passwords, [{"admin","admin"}]}]).

>From another machine: ssh -p 3322 admin@REDACTED
The authenticity of host 'orre (192.168.128.32)' can't be established.
DSA key fingerprint is f2:09:92:42:3a:5d:5d:ce:65:3f:a9:55:eb:b2:a3:b6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'orre,192.168.128.32' (DSA) to the list of known hosts.
admin@REDACTED's password: 
Eshell V5.4.12  (abort with ^G)
1> i().
Pid                   Initial Call                          Heap     Reds Msgs
Registered            Current Function                     Stack              
<0.0.0>               otp_ring0:start/2                      377     326
......

Extremely nice !!

Cheers, Tobbe
(Ps. It didn't work with RSA kind of host-keys... ?)
_________________________________________________________
Sent using Mail2Forum (http://m2f.sourceforge.net)



More information about the erlang-questions mailing list