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

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight ))
5번째 줄: 5번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# sshpass
[root@zetawiki ~]# sshpass
16번째 줄: 16번째 줄:


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


==확인 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>
</source>
<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.

2020년 11월 2일 (월) 00:40 판

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

1 확인

<syntaxhighlight lang='console'> [root@zetawiki ~]# rpm -qa | grep sshpass [root@zetawiki ~]# sshpass -bash: sshpass: command not found </source>

→ 설치 안됨

2 epel-release 설치

3 yum으로 설치

<syntaxhighlight lang='console'> [root@zetawiki ~]# yum install sshpass ... (생략)

3.1 =======================================================================
Package            Arch              Version                Repository       Size
3.2 =======================================================================

Installing:

sshpass            x86_64            1.05-1.el6             epel             19 k

Transaction Summary

3.3 =======================================================================

Install 1 Package(s)

Total download size: 19 k Installed size: 33 k Is this ok [y/N]: y </source> <syntaxhighlight lang='console'> ... (생략) Installed:

 sshpass.x86_64 0:1.05-1.el6                                                      

Complete! </source>

4 확인 2

<syntaxhighlight lang='console'> [root@zetawiki ~]# rpm -qa | grep sshpass sshpass-1.05-1.el6.x86_64 </source> <syntaxhighlight lang='console'> [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. </source>

5 같이 보기

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