I found it by myself. To start an Erlang shell on SSH, use
erl -rsh ssh
command.
To start a remote shell, use
ssh Target-host "erl -rsh ssh -sname Node-name-you-want" &
and prey no other problem that causes the remote shell to fail.
Cheers,
Y.H.H.