SSH 为 Secure Shell 的缩写,由 IETF 的网络工作小组(Network Working Group)所制定;SSH 为建立在应用层和传输层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以有效防止远程管理过程中的信息泄露问题。SSH最初是UNIX系统上的一个程序,后来又迅速扩展到其他操作平台。SSH在正确使用时可弥补网络中的漏洞。SSH客户端适用于多种平台。几乎所有U NIX平台—包括HP-UX、Linux、AIX、Solaris、Digital UNIX、Irix,以及其他平台,都可运行SSH。
ubuntu默认安装完成后只有ssh-agent(客户端模式),管理员模式需要另外安装,ubuntu的apt-get几乎无所不能。
1.
在管理员模式#下运行
apt-get install openssh-server即可安装。
突然报错:opensshserver has no installation candidate
# apt-get install openssh-server
Reading package lists... Done
Building dependency tree... Done
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package <packagename> has no installation candidate
解决方法如下:
# apt-get update
# apt-get upgrade
# apt-get install openssh-server
这样就可以正常使用apt-get了~
2.检查ssh服务开启状态
网上看到很多方法,比如ps -e |grep ssh或service ssh status均可.
参考:
http://jingyan.baidu.com/article/00a07f38a5c05482d128dc5f.html
http://blog.csdn.net/liuyifeng_510/article/details/7081490
http://www.2cto.com/os/201108/99318.html
http://wenku.baidu.com/link?url=H3VusnfI4VIm88J2_uxvOGOXGSVo2Uq2kkPSErEZPD5vbghAGbTMfJhNocZbVpTmnL_mfdQWcmMGFsTc1ZQga1kH8EbZ_amJIPGY0t10mru
分享到:
相关推荐
三大框架<SSH>思想 全套
ssh开源框架的搭建,含分页,事务管理 <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/applicationContext-*.xml,/WEB-INF/action-servlet.xml </param-value> </...
SSH的整合问题集中处理 <!-- 事务配置 --> <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory" ref="sessionFactory" /...
问题:ssh-copy-id 命令无法使用,在linux服务器的ssh服务中没有有这个命令,可以在/usr/bin/的这文件夹中查看没有这个ssh-copy-id 命令。 问题分析:是由于ssh服务的问题,可以直接将ssh-copy-id 命令拷贝/usr/...
环境 <br><br>Eclipse 6.5<br><br>jdk1.6<br><br>tomcat 6.0<br><br>Ajax <br><br><br><br>------------------<br>author:sunflower<br>QQ:527067272<br><br>SSH技术交流群<br>Software①China:25891402<br>Software...
rm -rf mydir <------说明:mydir目录------> cd mydir <------说明:进入mydir目录------> cd – <------说明:回上一级目录------> cd ~ <------说明:回根目录------> mv tools tool <------说明:把tools目录...
<property name="sessionFactory" ref="sessionFactory"></property> </bean> <!-- 其它Bean定义在此 --> <!-- 定义拦截器 --> <bean id="transactionInterceptor" class="org.springframework....
使用 ganymed-ssh2-262.jar 通过ssh协议链接资源执行脚本命令 使用 ganymed-ssh2-262.jar 通过ssh协议链接资源执行脚本命令
orion-ssh2-214.jar 使用ssh功能的
<dependency> <groupId>ch.ethz.ssh2</groupId> <artifactId>ssh2</artifactId> <version>1.0</version> </dependency>
<br>功能:使用dwr完成在客户端无刷新的...shop.js就是简单的修改得到的.<br><br>在服务器端就是提供数据,如果不是用Spriing就要修改dwr.xml(用的是spring bean)<br><br>http://localhost:8080/SSH/jsp/emp/list.jsp<br>...
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb sudo dpkg -i openssh-client_8.4p1-6ubuntu1_amd64.deb sudo dpkg -i openssh-sftp-server_8.4p1-6ubuntu1_amd64.deb sudo dpkg -i openssh-server_8.4p1-6...
gem 'ssh-manager' 然后执行: $ bundle 或将其自己安装为: $ gem install ssh-manager 用法 用法:sshm [选项] ... -a, --add ip Add ip to your Connection list -c, --connect id connect to <id> -d, --...
ganymed-ssh2-build210.jiar包与源码 Java通过SSH2协议执行远程Shell脚本(ganymed-ssh2-build210.jar)
ssh-copy-id for windows,支持windows下的ssh-copy-id命令,加入exe所在路径到PATH环境变量即可
解决openssh升级到8.2以后无法登录的问题,支持jdk1.5及以上版本
入门相依性< dependency> < groupId>com.github.fonimus</ groupId> < artifactId>ssh-shell-spring-boot-starter</ artifactId></ dependency> 注意:自动配置SshShellAutoConfiguration (默认情况下处于活动状态...
ganymed-ssh2-build210.7zganymed-ssh2-build210.7zganymed-ssh2-build210.7zganymed-ssh2-build210.7zganymed-ssh2-build210.7zganymed-ssh2-build210.7zganymed-ssh2-build210.7z
<listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:...
SSH审核 ssh-audit是用于ssh服务器审核的工具。 特征 SSH1和SSH2协议服务器支持; 抓住标语,识别设备或软件和操作...usage: ssh-audit.py [-1246pbnvl] <host> -1, --ssh1 force ssh version 1 only -2, --ssh2