Openssh的安装和启动方法

Openssh的安装和启动方法
http://www.21tx.com 2007年04月19日

上一页 1 2 3 4 5 6 7 下一页

  -rw-r--r-- 1 root root 602 2006-10-20 17:46 ssh_host_dsa_key.pub //ssh服务器dsa算法公钥

  -rw------- 1 root root 1679 2006-10-20 17:46 ssh_host_rsa_key //ssh服务器rsa算法私钥

  -rw-r--r-- 1 root root 394 2006-10-20 17:46 ssh_host_rsa_key.pub //ssh服务器rsa算法公钥

  tony@tonybox:~$

  如果没有特别要求使用默认设置即可满足使用要求.

  启动ssh服务

  $ sudo /etc/init.d/ssh start

  停止ssh服务

  $ sudo /etc/init.d/ssh stop

  重启ssh服务

  $ sudo /etc/init.d/ssh restart

  使用ssh首次连接一个远程ssh服务器时,会出现类似下边的信息。这是因为ssh不能识别这台主机,键入yes将会把这台服务器的信息写入 /.ssh/known_hosts文件,下次连入这台远程服务器时就不会出现这类信息。

  tony@tonybox:~$ ssh root@192.168.102.50

  The authenticity of host '192.168.102.50 (192.168.102.50)' can't be established.

  RSA key fingerprint is c6:d4:e7:23:03:ce:15:2c:08:ec:39:7e:52:29:a5:a6.

  Are you sure you want to continue connecting (yes/no)? yes

  Warning: Permanently added '192.168.102.50' (RSA) to the list of known hosts.

  root@192.168.102.50's passWord:******

  Last login: Thu Oct 26 10:38:41 2006

  Linux vmdebian 2.6.16-2-486 #1 Fri Aug 18 18:39:04 UTC 2006 i686

  The programs included with the Debian GNU/Linux system are free software;

  the exact distribution terms for each program are described in the

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值