"리눅스 SSH 클라이언트"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 4명의 중간 판 18개는 보이지 않습니다)
5번째 줄: 5번째 줄:
;/usr/bin/ssh
;/usr/bin/ssh
*[[CentOS 최소 설치 패키지]]에 SSH 서버(sshd)는 있지만, SSH 클라이언트(ssh)는 없다.
*[[CentOS 최소 설치 패키지]]에 SSH 서버(sshd)는 있지만, SSH 클라이언트(ssh)는 없다.
*최소 설치만 아니라면 대체로 설치되어 있다...
*최소 설치만 아니라면 대체로 설치되어 있다.
 
==SSH==
{{참고|SSH}}
*SSH는 Secure Shell의 줄임말
*네트워크를 통해 다른 컴퓨터에 접근 하거나 그 컴퓨터에서 명령 실행 등을 할 수 있도록 해주는 응용 프로그램 혹은 그 프로토콜을 말함
*Telnet, Rlogin 등의 서비스에서 보안을 좀 더 강화하기 위해 나왔음


==다른 서버 접속하기==
==다른 서버 접속하기==
;명령어  
{{소스헤더|명령어}}
<source lang='bash'>
<syntaxhighlight lang='bash'>
ssh 아이디@호스트주소
ssh 아이디@호스트주소
</source>
</syntaxhighlight>


;실행예시
{{소스헤더|실행예시}}
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]# ssh root@135.79.246.80
[root@zetawiki ~]# ssh root@135.79.246.80
root@135.79.246.80's password: P@ssw0rd
root@135.79.246.80's password: P@ssw0rd
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
[root@webserver1 ~]#  
[root@webserver1 ~]#  
</source>
</syntaxhighlight>


==22번 이외 포트 사용==
==22번 이외 포트 사용==
;명령어
{{소스헤더|명령어}}
<source lang='bash'>
<syntaxhighlight lang='bash'>
ssh 아이디@호스트주소 -p포트번호
ssh 아이디@호스트주소 -p포트번호
</source>
</syntaxhighlight>


;실행예시
{{소스헤더|실행예시}}
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]# ssh root@example.com -p1022
[root@zetawiki ~]# ssh root@example.com -p1022
root@example.com's password: P@ssw0rd
root@example.com's password: P@ssw0rd
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
[root@webserver2 ~]#  
[root@webserver2 ~]#  
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[리눅스 ssh 설치]]
* [[리눅스 ssh 설치]]
*[[원격 SSH 버전 확인]]
* [[/etc/ssh/ssh_config]]
* [[리눅스 ssh 원격 명령어 실행]]
* [[원격 SSH 버전 확인]]
* [[SSH 포트 변경하기]]
* [[리눅스 sshpass]]
* [[리눅스 rsh]]
* [[Are you sure you want to continue connecting (yes/no)?]]
* [[리눅스 SSH 서버]]
* [[SSH]]
* [[WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!]]
* [[WARNING: POSSIBLE DNS SPOOFING DETECTED!]]
* [[WARNING: UNPROTECTED PRIVATE KEY FILE!]]


[[분류: SSH]]
[[분류: SSH]]
[[분류: /usr/bin]]
[[분류: /usr/bin]]

2021년 9월 24일 (금) 23:19 기준 최신판

1 개요[ | ]

리눅스 SSH 클라이언트
ssh
/usr/bin/ssh
  • CentOS 최소 설치 패키지에 SSH 서버(sshd)는 있지만, SSH 클라이언트(ssh)는 없다.
  • 최소 설치만 아니라면 대체로 설치되어 있다.

2 SSH[ | ]

  • SSH는 Secure Shell의 줄임말
  • 네트워크를 통해 다른 컴퓨터에 접근 하거나 그 컴퓨터에서 명령 실행 등을 할 수 있도록 해주는 응용 프로그램 혹은 그 프로토콜을 말함
  • Telnet, Rlogin 등의 서비스에서 보안을 좀 더 강화하기 위해 나왔음

3 다른 서버 접속하기[ | ]

명령어
ssh 아이디@호스트주소
실행예시
[root@zetawiki ~]# ssh root@135.79.246.80
root@135.79.246.80's password: P@ssw0rd
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
[root@webserver1 ~]#

4 22번 이외 포트 사용[ | ]

명령어
ssh 아이디@호스트주소 -p포트번호
실행예시
[root@zetawiki ~]# ssh root@example.com -p1022
root@example.com's password: P@ssw0rd
Last login: Mon Mar 31 21:58:46 2014 from 246.80.135.79
[root@webserver2 ~]#

5 같이 보기[ | ]

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