开发者社区> 问答> 正文

linux中使用 SSH 命令语法测试 ssh-agent的方法是什么?

linux中使用 SSH 命令语法测试 ssh-agent的方法是什么?

展开
收起
游客qzzytmszf3zhq 2021-12-05 18:14:48 557 0
1 条回答
写回答
取消 提交回答
  • # Assuming target remote host has correct authorized key for private key from example01
    [root@example01.com ~]# ssh -A root@example02.com	
    Last login: Sat May  8 06:36:27 2010 from 10.12.53.118
    [root@example02 ~]#
    
    # Assuming target remote host has correct authorized key for private key from example03
    [root@example01.com ~]# ssh -A root@example03.com		
    Last login: Sat May  8 07:04:05 2010 from 10.12.53.119
    [root@example03 ~]#
    
    2021-12-05 18:15:00
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载
F2etest — 多浏览器兼容性测试整体解决方案 立即下载