Windows connects to Ubuntu steps in a virtual machine via SSH

Source: Internet
Author: User
Tags ssh server

Linux-side open SSH service

1. Install the Openssh-server package

sudo apt-get install openssh-server

2. start the SSH server

Sudo/etc/init.d/ssh start

< Span style= "LINE-HEIGHT:18PX; White-space:pre ">

< Span style= "LINE-HEIGHT:18PX; White-space:pre "> 3. Confirm that the SSH service starts

Ps-e | grep ssh

4. Set the service port, restart the service after Setup

sudo vi/etc/ssh/sshd_config

< Span style= "LINE-HEIGHT:18PX; White-space:pre "> sudo  /etc/init.d/ssh restart 

< Span style= "LINE-HEIGHT:18PX; White-space:pre "> windos-side Settings Connection Configuration

< Span style= "LINE-HEIGHT:18PX; White-space:pre "> It is recommended to use tool bitvise, the advantage is that both the command window, and the File window, very convenient!



Copyright NOTICE: This article is The Life Miracle Spring Original article, reprint please indicate the source Life Miracle Spring http://blog.csdn.net/shengmingqijiquan52367657

Windows connects to Ubuntu steps in a virtual machine via SSH

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.