dsa / rsa 키 생성
클라이언트 데스크탑
root@byoungguk-desktop:~# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
x:x:x:.... root@byoungguk-desktop
The key's randomart image is:
+--[ DSA 1024]----+
| |
| . |
| . + |
| . o o |
....
+-----------------+
root@byoungguk-desktop:~# cd /root/.ssh/
root@byoungguk-desktop:~/.ssh# ls -al
합계 20
drwx------ 2 root root 4096 2011-09-16 14:25 .
drwx------ 25 root root 4096 2011-09-15 11:28 ..
-rw------- 1 root root 672 2011-09-16 14:25 id_dsa
-rw-r--r-- 1 root root 612 2011-09-16 14:25 id_dsa.pub
-rw-r--r-- 1 root root 270 2010-07-23 12:28 known_hosts
파일중 id_dsa.pub 내용을 복사
접속하고자 하는 서버 계정에서 .ssh 디렉토리의 authorized_keys 파일에 추가함. 없으면 파일 만들고.
.ssh 디렉토리, authorized_keys 는 계정의 소유권으로 읽기,쓰기가능해야 한다.(0600)
접속 테스트
ssh xxx@ip
원격에서 명령 실행.
ssh xxx@ip df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda2 9920624 7767680 1640876 83% /
/dev/xvda1 101086 26739 69128 28% /boot
/dev/xvda4 18034160 8734112 8383944 52% /home
tmpfs 262232 0 262232 0% /dev/shm
/dev/xvdc1 20635700 2980460 16607004 16% /data3
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8130 | 9년 전 | 517 | ||
| 8129 |
|
9년 전 | 654 | |
| 8128 | 9년 전 | 521 | ||
| 8127 |
|
9년 전 | 576 | |
| 8126 | 9년 전 | 508 | ||
| 8125 | 9년 전 | 766 | ||
| 8124 |
|
9년 전 | 520 | |
| 8123 | 9년 전 | 504 | ||
| 8122 | 9년 전 | 437 | ||
| 8121 | 9년 전 | 538 | ||
| 8120 | 9년 전 | 468 | ||
| 8119 | 9년 전 | 550 | ||
| 8118 |
|
9년 전 | 633 | |
| 8117 |
|
9년 전 | 402 | |
| 8116 |
PASKRAN
|
9년 전 | 469 | |
| 8115 | 9년 전 | 460 | ||
| 8114 |
kiplayer
|
9년 전 | 598 | |
| 8113 | 9년 전 | 449 | ||
| 8112 |
|
9년 전 | 558 | |
| 8111 | 9년 전 | 410 | ||
| 8110 | 9년 전 | 446 | ||
| 8109 | 9년 전 | 372 | ||
| 8108 |
|
9년 전 | 543 | |
| 8107 |
|
9년 전 | 439 | |
| 8106 |
|
9년 전 | 440 | |
| 8105 | 9년 전 | 477 | ||
| 8104 |
|
9년 전 | 429 | |
| 8103 |
|
9년 전 | 432 | |
| 8102 |
|
9년 전 | 398 | |
| 8101 |
snshero
|
9년 전 | 785 | |
| 8100 | 9년 전 | 839 | ||
| 8099 | 9년 전 | 813 | ||
| 8098 | 9년 전 | 714 | ||
| 8097 | 9년 전 | 521 | ||
| 8096 | 9년 전 | 713 | ||
| 8095 | 9년 전 | 845 | ||
| 8094 | 9년 전 | 517 | ||
| 8093 | 9년 전 | 803 | ||
| 8092 | 9년 전 | 760 | ||
| 8091 | 9년 전 | 1145 | ||
| 8090 | 9년 전 | 768 | ||
| 8089 | 9년 전 | 978 | ||
| 8088 | 9년 전 | 647 | ||
| 8087 | 9년 전 | 766 | ||
| 8086 | 9년 전 | 524 | ||
| 8085 | 9년 전 | 487 | ||
| 8084 | 9년 전 | 609 | ||
| 8083 | 9년 전 | 582 | ||
| 8082 | 9년 전 | 755 | ||
| 8081 | 9년 전 | 472 | ||
| 8080 | 9년 전 | 572 | ||
| 8079 | 9년 전 | 524 | ||
| 8078 | 9년 전 | 453 | ||
| 8077 | 9년 전 | 533 | ||
| 8076 | 9년 전 | 411 | ||
| 8075 | 9년 전 | 444 | ||
| 8074 | 9년 전 | 401 | ||
| 8073 | 9년 전 | 453 | ||
| 8072 | 9년 전 | 449 | ||
| 8071 |
o1o111
|
9년 전 | 897 | |
| 8070 | 9년 전 | 403 | ||
| 8069 | 9년 전 | 341 | ||
| 8068 | 9년 전 | 591 | ||
| 8067 | 9년 전 | 391 | ||
| 8066 | 9년 전 | 429 | ||
| 8065 | 9년 전 | 382 | ||
| 8064 | 9년 전 | 369 | ||
| 8063 | 9년 전 | 340 | ||
| 8062 | 9년 전 | 312 | ||
| 8061 | 9년 전 | 352 | ||
| 8060 | 9년 전 | 393 | ||
| 8059 | 9년 전 | 327 | ||
| 8058 | 9년 전 | 258 | ||
| 8057 | 9년 전 | 387 | ||
| 8056 | 9년 전 | 311 | ||
| 8055 | 9년 전 | 354 | ||
| 8054 | 9년 전 | 366 | ||
| 8053 | 9년 전 | 416 | ||
| 8052 | 9년 전 | 294 | ||
| 8051 | 9년 전 | 335 | ||
| 8050 | 9년 전 | 394 | ||
| 8049 | 9년 전 | 324 | ||
| 8048 | 9년 전 | 437 | ||
| 8047 | 9년 전 | 361 | ||
| 8046 | 9년 전 | 309 | ||
| 8045 | 9년 전 | 261 | ||
| 8044 | 9년 전 | 348 | ||
| 8043 | 9년 전 | 294 | ||
| 8042 | 9년 전 | 296 | ||
| 8041 | 9년 전 | 353 | ||
| 8040 | 9년 전 | 275 | ||
| 8039 | 9년 전 | 321 | ||
| 8038 | 9년 전 | 271 | ||
| 8037 | 9년 전 | 409 | ||
| 8036 | 9년 전 | 486 | ||
| 8035 | 9년 전 | 436 | ||
| 8034 | 9년 전 | 393 | ||
| 8033 | 9년 전 | 353 | ||
| 8032 | 9년 전 | 444 | ||
| 8031 | 9년 전 | 354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기