1.sudo ps -e | grep ssh
若输出结果中含有sshd
,则说明ssh服务已经启动
2.安装ssh服务(ubuntu方法):sudo apt-get install openssh-server
3.ssh到远程主机:ssh 主机名@ip地址
注:manjaro查看ip地址的方式为ip addr
或者ip address
1.sudo ps -e | grep ssh
若输出结果中含有sshd
,则说明ssh服务已经启动
2.安装ssh服务(ubuntu方法):sudo apt-get install openssh-server
3.ssh到远程主机:ssh 主机名@ip地址
注:manjaro查看ip地址的方式为ip addr
或者ip address