Build bridges for Ubuntu and Windows Samba ssh Xshell

Source: Internet
Author: User

Have worked experience has a such work environment, source code compilation needs under Ubuntu, and the source code editing and other related work is done under Windows, it is bound to think how to build a bridge such a work, This article will explain how to build Ubuntu and Windows work Bridge

Ubuntu system is Ubuntu 12.04.5 Server AMD64, the machine name is Ubuntu, the user name is Antier,windows system for Windows 7 64-bit flagship edition

First of all, let's say it's easy. If you release an action command to an Ubuntu server via Windows, this requires a XSHLL,SSH protocol

    1. Download the XSHLL5 and install it under Windows

      Http://yunpan.cn/cmtEaLUwPuNTj Access Password 2342

      The main purpose of using XSHLL is to log on to the Ubuntu terminal on the Windows environment to encode, remote login

    2. Installing the SSH protocol under Ubuntu system

      [Email protected]:~ $sudo apt-get Install Openssh-server openssh-client

      Using Ps-ef | grep ssh, if only ssh-agent indicates not started, requires/etc/init.d/ssh start; with sshd instructions started

    3. Set XSHELL5

      Open XSHELL5, select "New", "Connection", "General"

      "Name" Please feel free to set, I named "ubuntu-server-243" here,

      "Protocol" select SSH

      "Host" Enter the IP address of the host, I enter "192.168.1.243" here because I am inside the LAN

      "Port number" is set to 22 by default

      Select the User Authentication window

      "User Name" Enter the user name that Ubuntu already exists. I'm typing antier here.

      "Password" Enter the user password for the user name

      Click "OK" so that you can control the Ubuntu host via Xshell.

    4. How to solve the Chinese garbled characters

      Under the premise of confirming that Ubuntu supports Chinese, in Xshell, select "File", "Properties", "terminal", "Encoding", "UTF-8"


Next, let's talk about the setup of Samba in Ubuntu.

    1. Ubuntu installs and configures Samba

      [Email protected]:~ $sudo apt-get Update

      [Email protected]:~ $sudo apt-get Install samba Samba-common

      [Email protected]:~ $sudo vim/etc/samba/smb.conf

      Add the following at the end of the smb.conf document

      [Antier]

      Path =/home/antier

      writeable = yes

      Valid users = Antier


      [Email protected]:~ $sudo smbpasswd-a antier

      The username must be a user name that already exists in Ubuntu.

    2. Double-click My Computer on the Windows side, enter \\server-ip\antier in the address bar

      This will pop up need to enter the user name and password, and this user name is the user name and password you set SMBPASSWD, because you configured in the SMB.CONF path directory user is antier. So the Windows window will show the Ubuntu system directory/ Home/antier content Oh, wow .... It's easy!!

The end!! If there is anything else that you don't understand, please refer to the blog post "speaking in front".

This article is from the "Empty Cup mentality" blog, please be sure to keep this source http://antier.blog.51cto.com/10691818/1693157

Build bridges for Ubuntu and Windows Samba ssh Xshell

Related Article

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.