ssh-chat 是一个使用 Go 语言编写的定制 SSH 服务器,当你连到该服务器时就会进入聊天模式,就好像以前的终端 BBS 系统一样。
你可以通过下面命令来尝试该服务:
<pre class="brush:shell;toolbar: true; auto-links: false;">$ ssh chat.shazow.net</pre>
使用方法:
<pre class="brush:shell;toolbar: true; auto-links: false;">Usage:
ssh-chat [OPTIONS]
Application Options:
-v, --verbose Show verbose logging.
-b, --bind= Host and port to listen on. (0.0.0.0:22)
-i, --identity= Private key to identify server with. (~/.ssh/id_rsa)
Help Options:
-h, --help Show this help message</pre>
也可以通过 Docker 来运行:
<pre class="brush:shell;toolbar: true; auto-links: false;">$ docker pull alvin/ssh-chat
$ docker run -d -p 0.0.0.0:(your host machine port):2022 --name ssh-chat alvin/ssh-chat
#or
$ docker build -t (your-docker-username)/ssh-chat .
#run
$ docker run -d -p 0.0.0.0:(your host machine port):2022 --name ssh-chat (your-docker-username)/ssh-chat</pre>
连接后聊天的截图:
![image](http://static.oschina.net/uploads/space/2014/1214/063758_hemf_12.png)