"CentOS sshpass 설치"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-<source lang='dos'> +<source lang='cli'>))
잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
5번째 줄: 5번째 줄:
==확인==
==확인==
<source lang='cli'>
<source lang='cli'>
[root@jmnote ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@jmnote ~]# sshpass
[root@zetawiki ~]# sshpass
-bash: sshpass: command not found
-bash: sshpass: command not found
</source>
</source>
16번째 줄: 16번째 줄:
== yum으로 설치 ==
== yum으로 설치 ==
<source lang='cli'>
<source lang='cli'>
[root@jmnote ~]# yum install sshpass
[root@zetawiki ~]# yum install sshpass
... (생략)
... (생략)
===================================================================================
===================================================================================
42번째 줄: 42번째 줄:
==확인 2==
==확인 2==
<source lang='cli'>
<source lang='cli'>
[root@jmnote ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# rpm -qa | grep sshpass
sshpass-1.05-1.el6.x86_64
sshpass-1.05-1.el6.x86_64
</source>
</source>
<source lang='cli'>
<source lang='cli'>
[root@jmnote ~]# sshpass -V
[root@zetawiki ~]# sshpass -V
sshpass 1.05 (C) 2006-2011 Lingnu Open Source Consulting Ltd.
sshpass 1.05 (C) 2006-2011 Lingnu Open Source Consulting Ltd.
This program is free software, and can be distributed under the terms of the GPL
This program is free software, and can be distributed under the terms of the GPL

2015년 2월 12일 (목) 02:13 판

리눅스 sshpass 설치 (yum)

1 확인

[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# sshpass
-bash: sshpass: command not found
→ 설치 안됨

2 epel-release 설치

3 yum으로 설치

[root@zetawiki ~]# yum install sshpass
... (생략)
===================================================================================
 Package            Arch              Version                Repository       Size
===================================================================================
Installing:
 sshpass            x86_64            1.05-1.el6             epel             19 k

Transaction Summary
===================================================================================
Install       1 Package(s)

Total download size: 19 k
Installed size: 33 k
Is this ok [y/N]: y
... (생략)
Installed:
  sshpass.x86_64 0:1.05-1.el6                                                      

Complete!

4 확인 2

[root@zetawiki ~]# rpm -qa | grep sshpass
sshpass-1.05-1.el6.x86_64
[root@zetawiki ~]# sshpass -V
sshpass 1.05 (C) 2006-2011 Lingnu Open Source Consulting Ltd.
This program is free software, and can be distributed under the terms of the GPL
See the COPYING file for more information.

5 같이 보기