Windows10下Xshell6如何远程连接Ubuntu14.04

操作环境:

Windows10 64位

Ubuntu14.04 32位

在vmvare里安装好了Ubuntu(32/64都可以)

Xshell6 软件

操作流程

  1. 在window10上安装好Xshell;
  2. Ubuntu安装openssh-server。Xshell 和Ubuntu通过ssh远程协议连接。

    sudo apt-get install openssh-server

    正常出现下面的情况:

    [email protected]:~$ sudoapt-get install openssh-server
    Reading package lists... Done
    Building dependencytree
    Reading state information... Done
    Some packages could not be installed. This may mean thatyou have
    requested an impossiblesituation or if you are using the unstable
    distribution that somerequired packages have not yet been created
    or been moved out of Incoming.
    The following informationmay help to resolve the situation:
    The following packageshave unmet dependencies:
      openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2.7 is to beinstalled
                                        Recommends: ncurses-term but it is not going to beinstalled
                                        Recommends: ssh-import-id but it is not going to beinstalled
    E: Unable to correct problems, youhave held broken packages.

    那是因为openssh-server 依赖于openssh-client,Ubuntu不是自带了openssh-client了吗? 因为自带的openssh-client的版本与openssh-client所依赖的不同,因此需
    要执行下面的命令:

    sudo apt-get install openssh-client=1:6.6p1-2ubuntu1

    再执行命令:sudo apt-get install openssh-server

    安装完成后可以通过ps -e|grep ssh查看openssh-server是否安装成功;

Xshell 建立连接

  1. 获取Ubuntu的ip

  2. 新建连接;

  3. 在打开的窗口中填写信息;

  4. 选择“用户身份验证”,输入Ubuntu的登录账户与密码;

  5. SSH安全警告,选择接受并保存;(忘记截图了)
  6. 愉快的使用xshell 了

原文地址:https://www.cnblogs.com/benjieqiang/p/11404165.html

时间: 2024-08-04 06:05:58

Windows10下Xshell6如何远程连接Ubuntu14.04的相关文章

[转]win7远程连接ubuntu14.04的相关配置,解决连接时灰屏

如何设置可以远程操作 安装必要的远程桌面的软件:xfce,xrdp,vnc4server sudo apt-get update sudo apt-get install xfce4 sudo apt-get install xrdp vnc4server 安装好后要自行新建配置文件,使得在远程登录时默认使用xfce作为界面登录,然后重启xrdp服务: echo "xfce4-session" >~/.xsession sudo service xrdp restart 配置完以

windows下通过VNC客户端软件远程连接Ubuntu14.04的桌面共享服务vino

http://www.ubuntukylin.com/ukylin/forum.php?mod=viewthread&tid=8631 https://bugs.launchpad.net/ubuntu/+source/vino/+bug/1290666 解决方案如下: 1.安装dconf-editor sudo apt-get install dconf-editor 2.用Dconf-editor调整,并访问如下配置路径 org > gnome > desktop > app

win7远程连接ubuntu14.04.1桌面

sudo apt-get install xdrp sudo apt-get install vnc4server tightserver sudo apt-get install xfce4 echo xfce4-session >~/.xsession win7下远程桌面 http://blog.csdn.net/zhaomininternational/article/details/41514221

在win7下用U盘安装Ubuntu14.04,双系统

一.软件准备 1.一个格式化了的U盘 2.下载ubuntu镜像,我下的是ubuntukylin-14.04-desktop-amd64.iso 3.下载unetbootin-windows-latest.exe,用这个软件把U盘做成启动盘,超简单.(网盘地址:http://pan.baidu.com/s/1qWGvj3Y) 二.分一个空磁盘给Ubuntu 步骤:在桌面或开始菜单里--计算机--右键--管理--磁盘管理,这里就看到了自己电脑磁盘的分区状况 从一个剩余使用空间大的磁盘上分出一个空磁盘

Mongodb Ubuntu下安装与远程连接

Ubuntu下安装与远程连接 安装.查看服务.服务是否随开机自动启动.查看端口.本地连接.远程连接. 安装 apt install mongodb 查看服务 ll /etc/init.d -rwxr-xr-x  1 root root 7768 6月  30  2014 mongodb* service mongodb status ● mongodb.service - An object/document-oriented database Loaded: loaded (/lib/syst

Win7下通过easyBCD引导安装Ubuntu14.04

Ubuntu14.04作为目前最新版本的ubuntu系统,相信很多人都想在自己的电脑上安装一下,然而系统的安装方法各式各样,u盘法.grub引导法等等,这里我将介绍在win7系统下用easyBCD软件建立引导,然后安装ubuntu的方法,这就不需要制作u盘启动盘那么麻烦,只需配置一些引导文件即可. 工具/原料 win7系统 ubuntu14.04系统镜像文件 easyBCD 2.2 DAEMON tools(非必须) 安装系统的前期准备 1 在网上下载ubuntu-14.04-desktop-a

Xshell使用root用户连接Ubuntu14.04时,提示SSH服务器拒绝了密码,请再试一次

今天,新安装的服务器Ubuntu14.04使用root用户连接时一直提示连接不上,使用其他普通用户则没有问题,后来了解到是ssh配置文件问题导致的. 修改: vim /etc/ssh/sshd_config 找到: # Authenticaton LoginGraceTime 120 PremitRootLogin without passwd StrictModes yes 修改为: # Authenticaton LoginGraceTime 120 PremitRootLogin yes

windows下使用xShell远程连接virtualbox里面的linux

第一阶段:基本安装 安装virtual box 在virtualbox里面安装xubuntu:是ubuntu+xfce桌面环境的一个linux的发行版本 在windows下安装Xmanager Enterprise 5[用其中的Xshell,建立远程连接] 第二阶段:基本设置 在windows下用cmd--ipconfig查看VirtualBox Host-Only Network找到IPv4地址:192.168.56.1[一般都是这个] 在xubuntu下的terminal--ifconfig

Win7远程登录Ubuntu14.04

Quote: http://www.xp74.com/article/news/6083.htm Method: One:vnc连接,实现图形化登录 优点:图形化操作,较第二种方法快 缺点:效率不是最高,而且同时只能支持一个人登录 ubuntu准备: 1.sudo apt-get install xrdp 注:Win7远程连接上Ubuntu,所使用的协议是rdp,此时可运行mstsc.exe连接,但只能显示桌面壁纸,继续安装 2.sudo apt-get install vnc4server t