SSH Secure Shell Client—远程控制Linux工具
来源:互联网 发布:网络安全检查实施方案 编辑:程序博客网 时间:2024/06/08 15:40
此工具可以使用命令远程控制Linux,而且可以方便地与Linux系统进行文件的交互,使其在Linux与Windows之间搭起一座便捷的桥梁。
Ubuntu安装使用SSH
ubuntu默认并没有安装ssh服务,如果通过ssh链接ubuntu,需要自己手动安装ssh-server。判断是否安装ssh服务,可以通过如下命令进行:
ssh localhost
ssh: connect to host localhost port 22: Connection refused
ssh localhost
ssh: connect to host localhost port 22: Connection refused如上所示,表示没有还没有安装,可以通过apt安装,命令如下:
ssh: connect to host localhost port 22: Connection refused
ssh localhost
ssh: connect to host localhost port 22: Connection refused如上所示,表示没有还没有安装,可以通过apt安装,命令如下:
sudo apt-get install openssh-server
sudo apt-get install openssh-server系统将自动进行安装,安装完成以后,先启动服务:sudo /etc/init.d/ssh start
sudo /etc/init.d/ssh start启动后,可以通过如下命令查看服务是否正确启动
sudo apt-get install openssh-server系统将自动进行安装,安装完成以后,先启动服务:sudo /etc/init.d/ssh start
sudo /etc/init.d/ssh start启动后,可以通过如下命令查看服务是否正确启动
ps -e|grep ssh
6212 ? 00:00:00 sshd
6212 ? 00:00:00 sshd
如上表示启动ok。注意,ssh默认的端口是22,可以更改端口,更改后先stop,
然后start就可以了。改配置在/etc/ssh/sshd_config下,如下所示。
vi /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
vi /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
最后,应该是连接的时候了。请看如下命令:
6212 ? 00:00:00 sshd
6212 ? 00:00:00 sshd
如上表示启动ok。注意,ssh默认的端口是22,可以更改端口,更改后先stop,
然后start就可以了。改配置在/etc/ssh/sshd_config下,如下所示。
vi /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
vi /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
最后,应该是连接的时候了。请看如下命令:
ssh exceljava@192.168.158.129
ssh exceljava@192.168.158.129 windows 安装客户端软件
使用SSH Secure Shell Client远程控制Linux
(1) 安装SSH Secure Shell Client。
在window系统中安装SSH Secure Shell Client软件
(2) 启动SSH Secure Shell Client。
SSH Secure Shell Client完毕后,桌面会出现两个图标:
ssh exceljava@192.168.158.129 windows 安装客户端软件
使用SSH Secure Shell Client远程控制Linux
(1) 安装SSH Secure Shell Client。
在window系统中安装SSH Secure Shell Client软件
(2) 启动SSH Secure Shell Client。
SSH Secure Shell Client完毕后,桌面会出现两个图标:
(3) 点击Quick Connecticut,进入连接界面
在Host Name中填写Linux主机IP地址,User Name中填写Linux下的用户名(一般不用Root用户,除非对此用户进行设置后方可),其它两项不必改动。
(4) 点击Connect按钮,出现输入密码提示,输入密码,进入Linux系统。用户就可以使用命令对Linux系统进行控制了。
使用SSH Secure Shell Client与Linux进行文件交互
(1) 启动SSH Secure Shell Client并登陆Linux系统
(2) 点击Quick Connect并输入相应内容
该文件传输客户端的左面是本地文件,右面默认是登陆用户的目录。此时,用户就可以进行文件传输了。如果用户在使用过程中出现传输错误,请确认你使用的用户对文件拥有足够的权限。
使用过程中可能会遇到乱码的问题:由于linux和windows的编码存在差异,所以会造成乱码现象。上网找了好久,好像是没有什么好的解决办法。如果是在linux下的,好像是可以改的。
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2011-03/33412.htm
0
上一篇:Linux下安装eclipse
下一篇:windows环境用GIT下载android源码
相关热门文章
- linux 常见服务端口
- 【ROOTFS搭建】busybox的httpd...
- 什么是shell
- linux socket的bug??
- linux的线程是否受到了保护?...
- ChinaUnix & ITPUB社区12周年...
- ssh连接出现以下提示,求解...
- 如何扩展MYSQL
- 准备做一个大型门户,用户什么...
- gbk or utf8
给主人留下些什么吧!~~
评论热议
- SSH Secure Shell Client—远程控制linux工具
- SSH Secure Shell Client—远程控制Linux工具
- SSH Secure Shell Client远程登录Linux
- 我学你也学之远程控制Linux系统篇——SSH Secure Shell Client
- linux--SSH Secure Shell Client
- SSH Secure Shell Client 工具的使用
- Linux 文件传输客户端SSH Secure Shell Client
- SSH Secure Shell Client 连接Linux 乱码
- About Linux & SSH(Secure Shell Client )
- SSH Secure Shell Client
- SSH Secure Shell Client
- ssh secure shell client
- 图解Windows下使用SSH Secure Shell Client远程连接Linux
- SSH Secure Shell之远程连接Linux
- SecureCRT、SSH Secure Shell Client远程登录实现
- SSH Secure Shell Client 远程,vim 显示语法高亮
- [工具] -- ssh secure shell client端中文显示乱码
- SSH Secure Shell Client乱码
- 怎样使用Eclipse来开发Android源码
- Android的PackageManager和ActivityManager的功能简介
- Android中设定EditText的输入长度
- Linux下安装eclipse
- Sql2008 配置远程连接及客户端连接不上的解决方法
- SSH Secure Shell Client—远程控制Linux工具
- windows环境用GIT下载android源码
- android入门理解android的生命周期
- Android多线程设计模式---wait()和notify()机制
- android中关于消息Message与Handler的详解
- Android中PreferenceActivity的介绍
- <noscript>及连接其他网站的图片
- 关于android中BaseAdapter的理解
- Android Button特效selector+shape
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
茯苓功效与作用
石斛功效作用
甘草功效作用
茯苓功效作用
石榴石功效与作用
当归功效与作用
灵芝功效作用
木瓜功效作用
玉米须功效与作用
金银花功效与作用
柚子皮功效与作用
阿胶功效作用
甘草功效与作用
鱼腥草功效与作用
决明子功效作用
天麻功效与作用
益母草功效与作用
蜂蜜作用与功效
当归功效作用
百合功效与作用
铁皮石斛功效与作用
金银花功效作用
黄精功效与作用
蒲公英茶功效
芋头功效与作用
天麻功效作用
常见草药
常见中草药
效用
常见中药
马步站桩功
马步桩功
马步桩功千古不传之秘
骐骥一跃不能十步驽马十驾功
功率公式
功率
功率单位
空调功率
功率因数
电功率公式
额定功率