winscp连接vmware ubuntu

先查看ssh是否安装

  1. shuo@ubuntu:~$ ssh localhost ssh  
  2. ssh: connect to host localhost port 22: Connection refused  

没安装

  1. shuo@ubuntu:~$ sudo apt-get install openssh-server    

启动ssh

  1. shuo@ubuntu:~$ sudo /etc/init.d/ssh start  
  2. Rather than invoking init scripts through /etc/init.d, use the service(8)  
  3. utility, e.g. service ssh start  
  4.   
  5.   
  6. Since the script you are attempting to invoke has been converted to an  
  7. Upstart job, you may also use the start(8) utility, e.g. start ssh  

查看服务是否正确启动

  1. shuo@ubuntu:~$ ps -e | grep ssh  
  2.  1719 ?        00:00:00 ssh-agent  
  3.  2235 ?        00:00:00 sshd  

查看IP

  1. shuo@ubuntu:~$ ifconfig  
  2. eth0      Link encap:以太网  硬件地址 00:0c:29:5a:24:59    
  3.           inet 地址:192.168.1.112  广播:192.168.139.255  掩码:255.255.255.0  
  4.           inet6 地址: fe80::20c:29ff:fe5a:2459/64 Scope:Link  
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1  
  6.           接收数据包:120 错误:0 丢弃:0 过载:0 帧数:0  
  7.           发送数据包:36 错误:0 丢弃:0 过载:0 载波:0  
  8.           碰撞:0 发送队列长度:1000   
  9.           接收字节:11641 (11.6 KB)  发送字节:5531 (5.5 KB)  
  10.           中断:19 基本地址:0x2024   
  11.   
  12.   
  13. lo        Link encap:本地环回    
  14.           inet 地址:127.0.0.1  掩码:255.0.0.0  
  15.           inet6 地址: ::1/128 Scope:Host  
  16.           UP LOOPBACK RUNNING  MTU:16436  跃点数:1  
  17.           接收数据包:12 错误:0 丢弃:0 过载:0 帧数:0  
  18.           发送数据包:12 错误:0 丢弃:0 过载:0 载波:0  
  19.           碰撞:0 发送队列长度:0   
  20.           接收字节:720 (720.0 B)  发送字节:720 (720.0 B) 

通过 winscp 连接ubuntu

填写 主机名为192.168.1.112 端口默认为22

用户名:shuo 密码:*******

登录OK


附winscp下载地址:http://sourceforge.net/projects/winscp/files/WinSCP/4.3.5/winscp435setup.exe/download


转帖:http://blog.csdn.net/tonicus/article/details/6924173

参考: http://www.wdlinux.cn/ssh_client

             http://winscp.net/eng/docs/lang:chs


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值