ssh remotely connect to Ubuntu

1.ubuntu first have to install ssh

sudo apt-get install openssh-server

2. Start ssh

sudo /etc/init.d/ssh start

3. Check whether to open

ps -e | grep  ssh

ps: Displays all running processes

-e: Show All

4. Get ip address of the host Ubuntu

ifconfig

5.port remember 22

Guess you like

Origin www.cnblogs.com/amitherblogs/p/12344102.html