安装openssh-client(ubuntu默认是安装的,如果没有则用下面的命令安装一下) sudo apt-get install openssh-server 使用方法: ssh username@ip