winScp 连接linux 机器
来源:互联网 发布:淘宝店铺差评 编辑:程序博客网 时间:2024/05/17 18:27
1. 需要安装ssh的包
apt-get install ssh
2. 检查ssh的服务是不是开启
service --status-all > file1
可以将查询的结果放入到file1中
或者 service --status-all|grep ssh, 会将ssh的指令标示为红色
3. 如果ssh的服务没有开启,用以下命令开启
service ssh start
(可以在连接之前先ping 对方机器的ip地址)
http://blog.csdn.net/shuo_wanda/article/details/7022846
http://mymbk.blog.sohu.com/167047928.html
先查看ssh是否安装
- shuo@ubuntu:~$ ssh localhost ssh
- ssh: connect to host localhost port 22: Connection refused
没安装
- shuo@ubuntu:~$ sudo apt-get install openssh-server
启动ssh
- shuo@ubuntu:~$ sudo /etc/init.d/ssh start
- Rather than invoking init scripts through /etc/init.d, use the service(8)
- utility, e.g. service ssh start
- Since the script you are attempting to invoke has been converted to an
- Upstart job, you may also use the start(8) utility, e.g. start ssh
查看服务是否正确启动
- shuo@ubuntu:~$ ps -e | grep ssh
- 1719 ? 00:00:00 ssh-agent
- 2235 ? 00:00:00 sshd
查看IP
- shuo@ubuntu:~$ ifconfig
- eth0 Link encap:以太网 硬件地址 00:0c:29:5a:24:59
- inet 地址:192.168.1.112 广播:192.168.139.255 掩码:255.255.255.0
- inet6 地址: fe80::20c:29ff:fe5a:2459/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
- 接收数据包:120 错误:0 丢弃:0 过载:0 帧数:0
- 发送数据包:36 错误:0 丢弃:0 过载:0 载波:0
- 碰撞:0 发送队列长度:1000
- 接收字节:11641 (11.6 KB) 发送字节:5531 (5.5 KB)
- 中断:19 基本地址:0x2024
- lo Link encap:本地环回
- inet 地址:127.0.0.1 掩码:255.0.0.0
- inet6 地址: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 跃点数:1
- 接收数据包:12 错误:0 丢弃:0 过载:0 帧数:0
- 发送数据包:12 错误:0 丢弃:0 过载:0 载波:0
- 碰撞:0 发送队列长度:0
- 接收字节: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
- winScp 连接linux 机器
- winSCP无法连接Linux
- winscp 连接 linux
- winscp连接linux步骤(redhat)
- winscp使用SSH连接linux系统
- ubuntu-winscp连接本地虚拟机linux-virtualbox
- putty(winscp)无法连接到linux(ubuntu)
- WinScp初次连接Linux(Ubuntu)问题
- winscp连接
- 连接虚拟机中的Linux服务器:putty和WinSCP使用
- winscp连接vmware ubuntu
- winscp连接vmware ubuntu
- winscp连接vmware ubuntu
- winscp连接vmware ubuntu
- WINSCP连接拒绝
- Ubuntu拒绝winscp连接
- Linux SSH, WinSCP
- WinSCP链接Linux
- oracle中case when的使用
- jsp乱码问题
- IE8/IE9无法加载 Activex 控件怎么办?
- ACE_Reactor是如何做到事件分发的
- Oracle® 数据库备份恢复基础--5.3安装和维护Oracle闪回数据库
- winScp 连接linux 机器
- 如何从一个对话框弹出单文档视图
- ASP.NET Web控件按钮事件加载无效。
- DM8261 U 盘 量产
- ASP.NET - Exception from HRESULT: 0x80070057 (E_INVALIDARG)
- 使用 Eclipse Memory Analyzer 进行堆转储文件分析
- python3.x学习——语法学习
- 解决火狐(Firefox)浏览器不能复制动态图片问题
- 异步IO、APC、IO完成端口、线程池与高性能服务器之一 异步IO