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

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(사용자 2명의 중간 판 3개는 보이지 않습니다)
2번째 줄: 2번째 줄:
{{테스트|CentOS 6.2}}
{{테스트|CentOS 6.2}}
;리눅스 sshpass 설치 (yum)
;리눅스 sshpass 설치 (yum)
;CentOS sshpass 설치


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# sshpass
[root@zetawiki ~]# sshpass
-bash: sshpass: command not found
-bash: sshpass: command not found
</source>
</syntaxhighlight>
:→ 설치 안됨
:→ 설치 안됨


15번째 줄: 16번째 줄:


== yum으로 설치 ==
== yum으로 설치 ==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum install sshpass
[root@zetawiki ~]# yum install sshpass
... (생략)
... (생략)
31번째 줄: 32번째 줄:
Installed size: 33 k
Installed size: 33 k
Is this ok [y/N]: y
Is this ok [y/N]: y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
... (생략)
... (생략)
Installed:
Installed:
38번째 줄: 39번째 줄:


Complete!
Complete!
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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
See the COPYING file for more information.
See the COPYING file for more information.
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 00:55 기준 최신판

  다른 뜻에 대해서는 우분투 sshpass 설치 문서를 참조하십시오.
리눅스 sshpass 설치 (yum)
CentOS sshpass 설치

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 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}