Windows Xshell Connect mac

Source: Internet
Author: User
Tags macbook

1, install Xshell (online download)

2. Open the software, create a new session, select "Connect", the protocol Select "SSH", host input the IP address of the remote Mac that needs to be accessed, click OK to return to the "session" page after the input is completed.

3, "session" page click the connection button, pop up the "SSH User name" Popup window, enter the MAC user name, before clicking the "OK" button, it is best to tick "Remember user name"

4, "session" page click OK, jump out of the "SSH user authentication" pop-up window, select the "Public Key" radio button, "User Key" box click the Browse button, select "User Key", jump out of "user key" pop-up, you can click "Generate" a key, click "OK Button", Return to "SSH user authentication"; Continue to enter the Mac login password in the "Password" box, click "OK" and then return to the Xshell page, you can see the connection to the remote host successfully

5, remote Mac installation sz and CZ command, you can see the installation failed, because brew is not in the root group, so only need to execute


Enter the installation command again to install successfully
macbook$  sudo brew install Lrzsz Password:Error:Cowardly refusing to ' sudo brew-install ' You can use the brew with sudo, b UT only if the brew executable are owned by root. However, this was both not recommended and completely unsupported so doing so atyour own risk.superfangfang:~ macbook$ sudo-s bash-3.2# cd/usr/local/bash-3.2# chown root/usr/local/bin/brew bash-3.2# Brew install lrzsz==> downloading https://h omebrew.bintray.com/bottles/lrzsz-0.12.20.yosemite.bott####################################################### ################# 100.0%==> pouring lrzsz-0.12.20.yosemite.bottle.tar.gz??  

PS: Well, later in the leadership know, found = = actually not so troublesome, just need to open the Finder on the Mac, on this page to execute the command+k command, open the following pop-up window, enter the IP address of Windows, click the connection will jump out of another pop-up window, enter a domain account and password, Click Connect to open the shared user for remote Windows

Windows Xshell Connect mac

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.